
Assessment Quiz 1

Quiz
•
Computers
•
7th - 12th Grade
•
Easy
Shivam Mishra
Used 2K+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
p("Hello World")
print("Hello World")
echo("Hello World");
echo "Hello World"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
#This is a comment
/*This is a comment*/
//This is a comment
++ This is comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a legal variable name?
my-var
Myvar
_myvar
my_var
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
x = int(5)
Both the other answers are correct
x = 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default input() function takes values in which data type:
float
int
string
char
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default if we don't use 'end' parameter the print() function prints after each
word
line
tab
column
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String is always put inside
bracket
double inverted commas
single inverted commas
either single or double inverted commas
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
C sharp

Quiz
•
11th Grade
10 questions
Quiz 1 G7

Quiz
•
7th Grade
10 questions
Class VIII_Basic Python Programming Quiz

Quiz
•
8th Grade
7 questions
Python Data Types and Arithmetic Quiz

Quiz
•
8th Grade
10 questions
Python

Quiz
•
6th - 8th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
15 questions
Introduction to TypeScript

Quiz
•
12th Grade
10 questions
Intro to Python

Quiz
•
KG - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade