
python_basic_input_output_operators
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
sudha reddy
Used 10+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to read this input which are given in same line
5@9@7@2
a,b,c,d=map(int,input().split('@'))
a,b,c,d=map(int,input().split(','))
a,b,c,d=int(input().split('@'))
a=int(input())
b=int(input())
c=int(input())
d=int(input())
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to read the input given as this
5
7
3
a,b,c=map(int,input().split())
a=int(input().split())
a=map(int,input().split())
a=int(input())
b=int(input())
c=int(input())
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
predict the output of the following code where a=5 b=6
a+=b+10
b=b<<3
a=a>>2
c=a&b
print(a,b,c)
0 48 5
5 48 0
5 40 0
48 5 15
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
predict the output of the following code where a=15 b=10
a+=2
b=b>>1
c=a&b
a=15^c
c=~c+b
b+=1
print(a,b,c)
6 3 14
6 6 6
14 6 3
14 14 3
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
predict the output of the following code where a=15, b=10
a=a^b
b=a^b
a=a^b
print(a,b)
15 10
10 15
20 15
15 20
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
predict the output of the following code for the input as 14.3 and 5
x=eval(input())
y=eval(input())
print(x+y)
20
19
19.3
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
predict the output of the following code
x=10
y=4.332
z=2.341
print("%.2f %.2f %.2f"%(x,y,z))
10.00 4.34 2.35
Error
10 4 2
10.00 4.33 2.34
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Quiz Komponen Komputer
Quiz
•
1st Grade - University
15 questions
Excel
Quiz
•
10th - 12th Grade
13 questions
வகுப்பு 12 - அடோப் இன்டிசைன் CC 2019
Quiz
•
12th Grade
20 questions
Computer
Quiz
•
12th Grade
16 questions
AI Checkpoint 1 Revision
Quiz
•
9th - 12th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
20 questions
NP IT Quiz ปริศนาไอที #4
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
