Python (IST 261)

Python (IST 261)

University

57 Qs

quiz-placeholder

Similar activities

Python final questions part 1

Python final questions part 1

University

62 Qs

ИКТ соңғы 60 сұрақ

ИКТ соңғы 60 сұрақ

University

60 Qs

Python Programming Quiz

Python Programming Quiz

University

58 Qs

OOP- Quiz #1

OOP- Quiz #1

University

55 Qs

Quiz de Revisão sobre Programação Python

Quiz de Revisão sobre Programação Python

University

60 Qs

Networking Quiz

Networking Quiz

University

53 Qs

C++ Arrays Quiz

C++ Arrays Quiz

University

62 Qs

ProgLang - FA2

ProgLang - FA2

University

54 Qs

Python (IST 261)

Python (IST 261)

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Miriam Aloma

Used 2+ times

FREE Resource

57 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which mode is used to run a complete Python script saved in a file?

Interactive / REPL mode

Debugging mode

Script mode

Compilation mode

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of variable y in the following code?

2

7

Error: x cannot be reassigned

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a Pthon keyword?

while

output

calculate

result

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do?

score = 50

score = score + 10

Creates a new variable with the value 10

Adds 10 to the variable score and stores the result back in score

Error: Invalid operation

Both a and b

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following variable names is NOT allowed in Python?

my_name

score$

userName

5th_place

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of variable y in the following code?

x = 2

y = x

x = 7

2

7

Error: x cannot be reassigned

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a Python keyword?

while

output

calculate

result

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?

Discover more resources for Information Technology (IT)