Python Programming Quiz for Grade 13

Python Programming Quiz for Grade 13

University

30 Qs

quiz-placeholder

Similar activities

7_sem

7_sem

University

30 Qs

IT 403 - QUIZ 2

IT 403 - QUIZ 2

University

25 Qs

ml 6 mei

ml 6 mei

University

25 Qs

Resumo Introdução a Programação

Resumo Introdução a Programação

University

30 Qs

REVEIWERACKK

REVEIWERACKK

University

35 Qs

PAT_AIJ_XII-TKJ

PAT_AIJ_XII-TKJ

12th Grade - University

30 Qs

Java Fundamentals Quiz

Java Fundamentals Quiz

University

30 Qs

Quiz Microsoft Excel

Quiz Microsoft Excel

10th Grade - University

30 Qs

Python Programming Quiz for Grade 13

Python Programming Quiz for Grade 13

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Dr. Dacon

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to write a single-line comment in Python?

// This is a comment

# This is a comment

/* This is a comment */

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? ```python print("Hello, World!") ```

Hello World

"Hello, World!"

Hello, World!

print("Hello, World!")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2nd_value

value_2

value-2

value 2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a built-in data type in Python?

Integer

Float

Character

Boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression? ```python 5 + 3 * 2 ```

16

11

13

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to get input from the user in Python?

input()

scan()

get()

read()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

**

//

%

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?