
Visual Programming

Quiz
•
Other
•
University
•
Medium
Cesar Omar Portillo Moreno
Used 12+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
valueOne = 5 ** 2
valueTwo = 5 ** 3
print(valueOne)
print(valueTwo)
10,25
25,125
10,125
10,15
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
for i in range(10, 15, 1):
print( i, end=', ')
10, 11, 12, 13, 14
10, 11, 12, 13, 14, 15
15,14,13,12,11,10
14,13,12,11,10
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
str = "pynative"
print (str[1:3])
py
yna
pyn
yn
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
def calculate (num1, num2=4):
res = num1 * num2
print(res)
calculate(5, 6)
10
20
30
40
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
p, q, r = 10, 20 ,30
print(p, q, r)
30,20,10
10
1 2 3
10 20 30
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following
x = 36 / 4 * (3 + 2) * 4 + 2
print(x)
117
37
182
128
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the data type of the following
aTuple = (1, 'Jhon', 1+3j)
print(type(aTuple[2:3]))
list
complex
tuple
dictionary
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
10 questions
python set 1

Quiz
•
University
10 questions
OUTPUT DEVICES YEAR 2 WK 4

Quiz
•
10th Grade - University
9 questions
Get To Know Communication Awards 2025

Quiz
•
University
12 questions
TUTORIAL : THEORY OF PRODUCTION

Quiz
•
University
15 questions
Arduin-KNOW Recap

Quiz
•
University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
9 questions
quiz - 7(exceptions and file handling)

Quiz
•
12th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade