Question

Question 49 1.25 pts Given two variables, val1 and val2, which expression would you use to test whether or not they are equalQuestion 58 1.25 pts Suppose the following statement is in a program: count = 56 After this statement executes, the count varQuestion 60 1.25 pts When an argument is passed to a function in Python, any reassignments of the function parameter will notQuestion 74 1.25 pts A compound Boolean expression created with the operator is true only if both its subexpressions are trueQuestion 78 1.25 pts This string method returns true if all of the alphabetic letters in the string are lowercase, and the st

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q 49

To compare to variables val1 and val2

Option A : false

val1= val2 ( it means value of val2 is assigned to val1)

Option B: True

This is correct way to compare val1 and val2

Option C: false

No such method exist. In java, equals() exists to compare two strings. But here expression itself is false.

Option D : false.

And logical operator.

Q58

Option A : false.

No such datatype exist

Option B: true.

Count variable generally used to track on number of occurrences, so it should be integer.

Option C: false.

Number of occurrence are not in decimals.

Option D : false

Str is use to store set of characters.

Q74

Option A: false

No such logical operator (both)

Option B: false

This logical operator is use to complement conditions, true become false and vice versa.

Option C: True

If both side subexpressions is true then only whole condition is true.

Option D: false

If either side subexpression is true.. whole condition is true.

Q78

Option B: true

islower is method which checks all the letters are in lower case.

Add a comment
Know the answer?
Add Answer to:
Question 49 1.25 pts Given two variables, val1 and val2, which expression would you use to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT