MIND-SWEEPER
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
sadanand Lalagi
Used 5+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the maximum length of a python identifier ?
16
128
32
no fixed length is specified
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be the output of the following code snippet ?
a=[1,2,3]
a=tuple(a)
a[0]=2
print(a)
(1,2,3)
[2,2,3]
(2,2,3)
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
what will be the output of the following code snippet ?
print(2**3 + (5+6)**(1+1))
129
8
121
None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
which of the following statement runs infinitely?
i) for(;;)
ii) for(;true;)
iii) for(;false;)
iv) for(;2==2;)
v) for(int i=1;i>=1;i++)
only i
ii and v
i,ii,and iii
i,ii,iv,and v
i,ii,iii,iv,and v
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Tanya is older than Eric.
Cliff is older than Tanya.
Eric is older than cliff.
If the first two statements are true, the third statement is
true
false
uncertain
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
In a four-day period Monday through Thursday each of the following temporary office workers worked only one day, each a different day. Ms. Johnson was scheduled to work on Monday, but she traded with Mr. carter, who was originally scheduled to work on Wednesday. Ms. Falk traded with Mr. Kirk, who was originally scheduled to work on Thursday. After all the switching was done, who worked on Tuesday ?
Ms. Falk
Ms. carter
Mr. kirk
Ms. Johnson
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Tickets numbered 1 to 20 are mixed up and then a ticket is drawn at random. what is the probability that the ticket drawn has a number which is a multiple of 3 or 5 ?
2/5
1/2
9/20
8/15
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?
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