
Conditional statement
Quiz
•
World Languages
•
Professional Development
•
Practice Problem
•
Medium
KEERTHI BADUGU
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q1. Which function is used to take input from the user in Python?
A) scanf()
B) input()
C) cin>>
D) get()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q2. What is the output of the following code?
print("Hello", "World")
A) HelloWorld
B) Hello, World
C) Hello World
D) Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q3. What is the default separator used by print() in Python?
A) Comma (,)
B) Newline (\n)
C) Space ( )
D) Tab (\t)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q4. How do you display output in Python without a newline?
A) print(end='')
B)print(no_newline=True)
C) echo()
D) print.line()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q5. What is the output of:
x = input("Enter a number: ") print(x * 2)
If input is 3, what will be printed?
A) 6
B) 33
C) 9
D) Error
A) 6
B) 33
C) 9
D) Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q6. Which of the following will correctly convert input to integer?
A) int(input())
B) input(int())
C) eval(input())
D) float(input())
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q7. What does the following code do?
a = input("Enter name: ") print("Hello", a)
A) Greets the user by name
B) Prints Hello only
C) Error
D) None of the above
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
CRASE
Quiz
•
12th Grade - Professi...
17 questions
I love my job!
Quiz
•
6th Grade - Professio...
11 questions
Miembros de la familia (Versión miembros básicos)
Quiz
•
Professional Development
10 questions
KRASHEN'S THEORY OF LANGUAGE LEARNING
Quiz
•
University - Professi...
20 questions
quiz materi bahasa sunda kelas 9
Quiz
•
Professional Development
20 questions
Familia Romana Cap. II
Quiz
•
KG - Professional Dev...
10 questions
French Fun
Quiz
•
Professional Development
15 questions
Redacción indirecta
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for World Languages
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
