Phase_2 Pre- Python Quiz

Phase_2 Pre- Python Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Conceitos Python

Conceitos Python

Professional Development

10 Qs

Quiz1_7A

Quiz1_7A

2nd Grade - Professional Development

20 Qs

Python - String and Lists

Python - String and Lists

Professional Development

20 Qs

Python Module 1

Python Module 1

University - Professional Development

13 Qs

Basic of Programming - Quiz 02

Basic of Programming - Quiz 02

University - Professional Development

15 Qs

Python - CDT

Python - CDT

Professional Development

20 Qs

Python Programming

Python Programming

Professional Development

20 Qs

codePannu  Level 1 Python Course - Week 6 Quiz on Logical Operators

codePannu Level 1 Python Course - Week 6 Quiz on Logical Operators

Professional Development

15 Qs

Phase_2 Pre- Python Quiz

Phase_2 Pre- Python Quiz

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Coding Department

Used 13+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

A type of snake

A web browser

A high-level programming language

An operating system

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to comment a single line in Python?

//

#

/* */

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print something in Python?

console.print()

echo()

printf()

print()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to assign the value 10 to a variable?

10 = x

x == 10

x = 10

x := 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

2value

first-name

first_name

class

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(2 + 3 * 4)?

20

14

24

9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the result of 5 / 2 in Python 3?

int

float

str

bool

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?