Python Phase 1

Python Phase 1

University

30 Qs

quiz-placeholder

Similar activities

Discovering Open Source

Discovering Open Source

University

30 Qs

Cycles of Life

Cycles of Life

University

26 Qs

Programming Lab Quiz

Programming Lab Quiz

University

25 Qs

Tugas 1 Soal Pilihan Ganda CNC

Tugas 1 Soal Pilihan Ganda CNC

University

30 Qs

1.1 - Manufacturing

1.1 - Manufacturing

10th Grade - University

35 Qs

Parallel Computing Quiz

Parallel Computing Quiz

University

25 Qs

FT-1

FT-1

University

30 Qs

Ceramic Materials

Ceramic Materials

University

25 Qs

Python Phase 1

Python Phase 1

Assessment

Quiz

Engineering

University

Medium

Created by

Data Science undefined

Used 1+ times

FREE Resource

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.

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?