Python Basics

Quiz
•
Computers
•
University
•
Hard
Corneille NDJEUMOU
Used 6+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__ is used to translate a program written in a high-level language into its equivalent machine code.
Compiler
Linker
Loader
Compiler and Linker
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for the print statement in Python 3.0?
print('Hello, Python!")
PRINT('Hello, Python!')
print('Hello, Python!')
Print("Hello, Python!")
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following symbols is used to make single line comments in Python?
#
//
""
$
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
We cannot comment on multiple lines in a Python program.
True
False
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python is ___ language.
an interpreted
a compiled
a translated
an assembled
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is not a valid identifier?
[NB: Select all that apply]
A_
_A
1A
_1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed if we write print() statement as
PriNt(“Hello Python!”)
Hello Python
Syntax Error
Name Error
Value Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
UNIT 1 PYTHON

Quiz
•
University
25 questions
Python Module 1

Quiz
•
University
25 questions
PYTHON CONTEST

Quiz
•
University
20 questions
Python 1

Quiz
•
University
20 questions
Python Strings

Quiz
•
University
20 questions
Python Recap

Quiz
•
7th Grade - University
20 questions
AI BootCamp: 2024 Edition- Session 1

Quiz
•
University
20 questions
Basics of programming - Quiz - 01

Quiz
•
University - Professi...
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