McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Computer Science Engineering (CSE)
→
Problem Solving and Python Programming
→
Numeric Types (Int,Float)
→
What does ~4 evaluate to?
Q.
What does ~4 evaluate to?
A.
-5
B.
-4
C.
-3
D.
+3
Answer» A. -5
Explanation: ~x is equivalent to -(x+1).
4.6k
0
Do you find this helpful?
21
View all MCQs in
Problem Solving and Python Programming
Discussion
No comments yet
Login to comment
Related MCQs
What does 3 ^ 4 evaluate to?
Given a function that does not return any value, What value is thrown by default when executed in shell.
Which of the following functions does not necessarily accept only iterables as arguments?
Which of the following functions does not throw an error?
Does Lambda contains return statements?
If a function doesn’t have a return statement, which of the following does the function return?
If a is a dictionary with some key-value pairs, what does a.popitem() do?
If b is a dictionary, what does any(b) do?
In file handling, what does this terms means “r, a”?