Python basics

Quiz
•
Computers
•
Professional Development
•
Hard
Kavya M
Used 85+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the word (command) used to display numbers and text on the screen?
input
output
display
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number or word we give to a variable
Information
key
value
data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A box(memory location) where you store values
Data type
Data structure
Value
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To display the following on screen
Hello World!
the following command should be used:
print(Hello World!)
print("Hello World!")
print("Hello World" + !)
print"(Hello World!)"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 5
y = 6
print("x*y")
The code above displays the following:
11
x*y
30
Syntax Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator checks if a value is equal to another value?
=
!=
~
==
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a string?
new_var = "True"
new_var = False
new_var = "2.4"
new_var = "5+2j"
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Basics of programming - Quiz - 01

Quiz
•
University - Professi...
25 questions
LIST-TUPLES-SET-DICTIONARY

Quiz
•
Professional Development
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
26 questions
Quiz 2.2

Quiz
•
Professional Development
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
22 questions
Python Training

Quiz
•
Professional Development
20 questions
C-Quest

Quiz
•
Professional Development
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade