07 - Nested Structures

Quiz
•
Computers
•
12th Grade
•
Medium
A McKILLEN
Used 178+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If num=13, what is the output of this program?
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”) (line 5) 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 Wayground
10 questions
ArrayLists

Quiz
•
11th - 12th Grade
15 questions
Diagramas de Flujo 2

Quiz
•
5th Grade - University
12 questions
Computer Hardware

Quiz
•
9th - 12th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
12 questions
Functions With Return Values U1M2 Python

Quiz
•
9th - 12th Grade
10 questions
AP CS A Unit 6 Quiz PRACTICE

Quiz
•
9th - 12th Grade
15 questions
Variables Java

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade