Iedc Coders Club Programming Quiz

Quiz
•
Computers
•
University
•
Medium
Lnox sian
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
echo "Hello world"
print("Hello world")
echo("Hello world")
p("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
/*Thisi s a comment*/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a legal variable name ?
Myvar
my-var
my_var
_myvar
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a varaiable with numeric value 5 ?
x = 5
Both answers are correct
x = int(5)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct extension for Python Files ?
.pyt
.py
.pyth
.pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a floating variable 2.8 to x ?
Both of the answers are correct
x = float(2.8)
x = 2.8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python
print(typeof x)
print(typeof(x))
print(typeOf(x))
print(type(x))
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
20 questions
Introduction To Python

Quiz
•
University
20 questions
Python 101

Quiz
•
University
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
25 questions
PYTHON CONTEST 2

Quiz
•
University
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
20 questions
Python for beginners

Quiz
•
University
25 questions
Introduction to Python

Quiz
•
KG - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade