What is the maximum length of a python identifier ?
MIND-SWEEPER

Quiz
•
Computers
•
University
•
Hard

sadanand Lalagi
Used 5+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
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
Create a free account and access millions of resources
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade