Python

Python

University

18 Qs

quiz-placeholder

Similar activities

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Digital introductions

Digital introductions

University

20 Qs

CSS Pseudo dan CSS Grid System

CSS Pseudo dan CSS Grid System

University

20 Qs

SQL Quiz

SQL Quiz

University

18 Qs

switch case

switch case

University

17 Qs

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

6th Grade - University

14 Qs

Python

Python

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

jack skeleton

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python uses ________________ to run scripts.

First compiler then interpreter

Both compiler and interpreter

Interpreter 

Compiler

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Interpreter ______________

Translates and runs the entire program at once

Runs the code statement by statement

Is very fast in comparison with compiler

None of above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is true about an algorithm? Choose the one(s) that apply:

Finite steps to solve a problem

Step by step instructions to solve a problem

Order of steps are important in writing an algorithm

All of above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct when you want to read a number from input in Python:

x = input()

x = print(‘Enter a number’)

x = int(input(“Enter x:”))

x = print(“Enter x”)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following list function?

Error. You can't use append twice on a list.

[10, 20, 30, 40, 50, 60]

[10, 20, 30, 40, 50, 60]
[10, 20, 30, 40, 50, 60]

[10, 20, 30, 40, 50, 60]
[10, 20, 30, 40, 50, 60, 60]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

[10, 20]


[] 

list index out of range

[20, 30]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

programming

ODU

CS115

xyz

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?

Discover more resources for Computers