Python Phase 1

Python Phase 1

University

•

30 Qs

quiz-placeholder

Similar activities

S&S CIE-III: MCQ on Unit 5 and 6_ AY 2024-25 Term II

S&S CIE-III: MCQ on Unit 5 and 6_ AY 2024-25 Term II

University

•

26 Qs

Fluid Mechanics Quiz

Fluid Mechanics Quiz

University

•

25 Qs

Renewable Energy for AB Applications (Reviewer Midterm1)

Renewable Energy for AB Applications (Reviewer Midterm1)

University

•

28 Qs

Types of Engineering Practice Quiz

Types of Engineering Practice Quiz

9th Grade - University

•

25 Qs

Timestamped Multiple-Choice Test: TinkerCAD Basics

Timestamped Multiple-Choice Test: TinkerCAD Basics

7th Grade - University

•

25 Qs

Fall Semester Exam

Fall Semester Exam

7th Grade - University

•

25 Qs

Embedded Systems and IoT Careers Quiz

Embedded Systems and IoT Careers Quiz

University

•

25 Qs

DBMS Quiz

DBMS Quiz

University

•

25 Qs

Python Phase 1

Python Phase 1

Assessment

Quiz

•

Engineering

•

University

•

Practice Problem

•

Medium

Created by

Data Science undefined

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following variable names is invalid in Python?

data_value

3data

_data

DataValue

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is NOT a keyword in Python?

  • pass

break

def

  • print

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

  1. What is the data type of the following variable?


<class 'int'>, <class 'int'>

  • <class 'str'>, <class 'int'>

  • <class 'str'>, <class 'str'>

  • <class 'int'>, <class 'str'>

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the following code snippet?

3, 3

3, 3.33

  1. 3, 3.0

Error

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the result of the following expression?

7

8

5

6

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

  1. What will be the result of the following operation?

2

3

4

1

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will happen when the following code is executed?
print("Hello)

Hello will be printed.

  • An error will occur.

 Nothing will be printed.

  • It will print None.

Access all questions and much more by creating a free account

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?