Python Basics

Python Basics

University

25 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

University

20 Qs

quiz dasar python

quiz dasar python

1st Grade - University

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

BPP UNIT-1,2 AID

BPP UNIT-1,2 AID

University

20 Qs

Grade 7 Python Programming Quiz

Grade 7 Python Programming Quiz

7th Grade - University

20 Qs

Python :: String review

Python :: String review

University

20 Qs

Introduction to Python

Introduction to Python

University

20 Qs

Basic Python

Basic Python

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?