What is the output of this code?

Test9

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Easy
Rares Hampi
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
False
True
None
Error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name?
2nd_var
var-1
my_var
class
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of 3 * 2 * * 2?
36
12
18
16
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is used to convert a string to an integer?
str()
float()
int()
input()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the len() function do?
Returns the sum of numbers
Returns the type of the object
Returns the length of a sequence
Converts a number to a string
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following?
False False False
True False True
False True True
True True True
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a correct if statement?
if x = 10:
if x == 10:
if (x => 10)
if x equals 10:
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Seatwork #4

Quiz
•
12th Grade - University
25 questions
Python - Chapter 3 Practice Quiz

Quiz
•
12th Grade
30 questions
QUIZ Edublock Python

Quiz
•
9th Grade
26 questions
Programming CFE Review #1

Quiz
•
10th Grade
31 questions
AP CSP Unit 1 Exam

Quiz
•
10th Grade
25 questions
G9-Introduction to Python Programming

Quiz
•
9th Grade - University
25 questions
Understanding the concept of list

Quiz
•
11th Grade
33 questions
Computer Science Examination Paper A - Allowed Items

Quiz
•
12th Grade
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
Discover more resources for Information Technology (IT)
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
37 questions
Camp Re-cap Week 1 (no regression)

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

Quiz
•
10th Grade