
Programming Fundamentals
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Saffin Mathew
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following cannot be a Python variable name?
Int_1
true
var-2
name3
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
valueOne = 5 ** 2
valueTwo = 5 ** 3
print(valueOne)
print(valueTwo)
10
15
25
125
Error: Invalid Syntax
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A string is immutable in Python?
Every time when we modify the string, Python Always create a new String and assign a new string to that variable.
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Can we use the “else” block for for loop?
for example:
for i in range(1, 5):
print(i)
else:
print("this is else block statement" )
No
Yes
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
var1 = 1
var2 = 2
var3 = "3"
print(var1 + var2 + var3)
6
33
123
Error. Mixing operators between numbers and strings are not supported
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is the below code valid?
for x in range(0.5, 5.5, 0.5):
print(x)
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 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
10,15,1
10,15
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Ai BG-Q#
Quiz
•
Professional Development
12 questions
CyberAnalysis - Дорешивание ВМ по правилам AD
Quiz
•
Professional Development
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Azure Cloud computing
Quiz
•
Professional Development
13 questions
GRAND OPENING INTERNSHIP EXERCISE 2024
Quiz
•
Professional Development
10 questions
Hen keeping
Quiz
•
Professional Development
10 questions
How are you doing?
Quiz
•
Professional Development
10 questions
AWS ACF Módulo 1 - Visão geral dos conceitos de nuvem
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
