Group Activity 1
Quiz
•
Education
•
University
•
Practice Problem
•
Hard
Hemanth Kumar
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
1. Which of the following is a valid variable name?
1. Which of the following is a valid variable name?
.ram2
ram.2
ram_2
2ram00
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which of the following statement is invalid?
2. Which of the following statement is invalid?
m_n_q = 3500
m.n.q = 3500, 3600, 3700
m,n,q = 3500, 3600, 3700
mnq = 350036003700
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which command would you use to find the data type of a variable
3. Which command would you use to find the data type of a variable
data( )
type( )
typeof( )
str( )
4.
MULTIPLE CHOICE QUESTION
30 sec • 4 pts
4. What will be the output after the following statements are executed?
X=300
Y= 17
X%=Y
print(X)
4. What will be the output after the following statements are executed?
X=300
Y= 17
X%=Y
print(X)
11
17.6
300
17
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Consider a following code snippet. What is a data type of y?
5. Consider a following code snippet. What is a data type of y?
x=15
y=str(float(x))
int
float
str
Code will throw an error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. While naming the variable, use of any special character other than underscore(_) will throw which type of error?
6. While naming the variable, use of any special character other than underscore(_) will throw which type of error?
Syntax error
Key error
Value error
Index error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Let x = “Mayur”. Which of the following commands converts the ‘x’ to float datatype?
7. Let x = “Mayur”. Which of the following commands converts the ‘x’ to float datatype?
str(float,x)
x.float()
float(x)
Cannot convert a string to float data type
8.
MULTIPLE CHOICE QUESTION
30 sec • 4 pts
7. x=10
y= 5
z=3
print(x+y%z)
Predict the output of the above code.
7. x=10
y= 5
z=3
print(x+y%z)
Predict the output of the above code.
12.0
12
11.667
11
Similar Resources on Wayground
10 questions
Modul Ajar dan AI dalam Pendidikan
Quiz
•
12th Grade - University
10 questions
Ortografia
Quiz
•
University
8 questions
Principios contables generalmente aceptados
Quiz
•
University
10 questions
ICD11 Knowledge
Quiz
•
University
11 questions
Image segmentation
Quiz
•
12th Grade - University
13 questions
Psychology
Quiz
•
University
11 questions
Python - Data Types
Quiz
•
12th Grade - University
11 questions
Articulation & Phonology
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Education
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
