If num=13, what is the output of this program?
07 - Nested Structures

Quiz
•
Computers
•
12th Grade
•
Medium
A McKILLEN
Used 172+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1 3 5 7 9 11 13
1 3 5 7 9 11
2 4 6 10 12
0 2 4 6 8 10 12
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num=27, what is the output of this program?
1 2 3 9 27
1 3 9 27
3 9
27 9 3 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the \r escape sequence?
newline
prints a horizontal tab character
carriage return
prints a backslash character
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num=42, for what value(s) of i is the statement print(“no”) in line number 5 is executed?
2
21
2, 3, 14, 21
1, 2, 3, 14, 21, 42
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num=39, what is the output of the program?
'no'
'yes'
'yes' then 'no'
'no' then 'no'
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num1 = 4 and num2 = 18, what will be output?
4
18
36
40
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num1 = 6 and num2 = 8, what will be output?
8
12
24
48
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
JavaScript and HTML Quiz

Quiz
•
12th Grade
12 questions
Ponteiros em C

Quiz
•
9th - 12th Grade
5 questions
034. Extra Help

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
10 questions
APCSA - Unit 3

Quiz
•
9th - 12th Grade
14 questions
Computing Revision JCG

Quiz
•
KG - University
12 questions
IDT UNIT 3

Quiz
•
9th - 12th Grade
15 questions
Unit 4 Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University