Python Basics

Python Basics

University

25 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

KG - University

25 Qs

Unit 3 Looping - Quiz

Unit 3 Looping - Quiz

9th Grade - University

20 Qs

Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

University

20 Qs

FD Theory 1

FD Theory 1

11th Grade - University

20 Qs

Python MCQ

Python MCQ

University

20 Qs

Python 101

Python 101

University

20 Qs

Python Control Structures

Python Control Structures

University

20 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?