Python Quiz Error 101 3.0

Python Quiz Error 101 3.0

University

15 Qs

quiz-placeholder

Similar activities

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Python Quiz Error 101 3.0

Python Quiz Error 101 3.0

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

CODECHEF CUIET

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which language is python written? 

C

C++

Java

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid Python variable name? 

`my_variable` 

`_variable` 

`2variable` 

`variable_2`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to format a string in Python?

`%` 

`&` 

`@` 

`{}`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? 

 

'''python'''

print("Hello, world!"[-6:-1]) 

'world'

'world!'

'Hello'

'Hello,'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to comment a single line in Python? 

`/* comment */` 

`<!-- comment -->` 

`# comment` 

`/* comment */` 

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code snippet output? 

 

print(2*3 ** 3 // 4 + 5) 

13

18

21

23

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Total number of keywords in Python language? 

   35 

32

50

60

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