Python basics

Quiz
•
Computers
•
Professional Development
•
Hard
Kavya M
Used 86+ 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
Python Programming Fundamental

Quiz
•
Professional Development
20 questions
Module 1 Exercise (Python)

Quiz
•
Professional Development
22 questions
Python Training

Quiz
•
Professional Development
20 questions
C-Quest

Quiz
•
Professional Development
17 questions
Python traceback

Quiz
•
Professional Development
20 questions
Python

Quiz
•
Professional Development
20 questions
Basics of programming - Quiz - 01

Quiz
•
University - Professi...
20 questions
C Code Master

Quiz
•
Professional Development
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