python basic quiz AQ1

python basic quiz AQ1

University

16 Qs

quiz-placeholder

Similar activities

POSTEST RAKOR UNBK SUL-SEL

POSTEST RAKOR UNBK SUL-SEL

University - Professional Development

20 Qs

Vicon Perdana IFA

Vicon Perdana IFA

University

20 Qs

INTRODUCTION ON MANAGEMENT

INTRODUCTION ON MANAGEMENT

University

15 Qs

DE - UNIT 3 LOGIC GATES - 31.08.2020

DE - UNIT 3 LOGIC GATES - 31.08.2020

University

12 Qs

SPS411: REVISION (TUTORIAL)

SPS411: REVISION (TUTORIAL)

University

15 Qs

Diseño de Experimentos en SI - Sesión 02

Diseño de Experimentos en SI - Sesión 02

University

13 Qs

eCommerce Quiz 2

eCommerce Quiz 2

University

20 Qs

python basic quiz AQ1

python basic quiz AQ1

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

Ruchi Talwar

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you have an error in your code what is the term to summarise finding and fixing that error?

Error checking
Debugging
Syntax finder
Error finder

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python command lets the user enter an answer to a question?

answer()
open()
print()
input()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in Python?

print("Hello World")

echo("Hello World");

p("Hello World")

echo"Hello World"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

#This is a comment

/*This is a comment*/

//This is a comment

This is a comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to output the type of a variable or object in Python?

print(typeOf(x))

print(typeof(x))

print(typeof x)

print(type(x))

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

print(2**3 + (5 + 6)**(1 + 1))

8

121

129

127

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?