Python Basics

Python Basics

University

25 Qs

quiz-placeholder

Similar activities

WML & WAP

WML & WAP

University

20 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

QUIZ BAB 4: SISTEM OPERASI

QUIZ BAB 4: SISTEM OPERASI

8th Grade - University

20 Qs

INTERNET

INTERNET

University

20 Qs

Round 1 ( RHA Learner Contest )

Round 1 ( RHA Learner Contest )

University

20 Qs

Python MCQ

Python MCQ

University

20 Qs

Network topologies

Network topologies

8th Grade - University

20 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Corneille NDJEUMOU

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?