Python Quiz 1 (Beginning of lesson 4)

Python Quiz 1 (Beginning of lesson 4)

12th Grade

10 Qs

quiz-placeholder

Similar activities

Mid-Quiz

Mid-Quiz

9th - 12th Grade

10 Qs

Class 12 Review Questions

Class 12 Review Questions

12th Grade

15 Qs

Python Basics

Python Basics

KG - University

10 Qs

Python Internship Quiz

Python Internship Quiz

12th Grade - University

15 Qs

Python Basics - Prior Knowledge Check

Python Basics - Prior Knowledge Check

11th - 12th Grade

6 Qs

Python - Data Types

Python - Data Types

12th Grade - University

11 Qs

Computing

Computing

KG - University

12 Qs

Python repaso

Python repaso

9th - 12th Grade

10 Qs

Python Quiz 1 (Beginning of lesson 4)

Python Quiz 1 (Beginning of lesson 4)

Assessment

Quiz

Instructional Technology

12th Grade

Medium

Created by

Susanti Susanti

Used 9+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

Media Image
  1. What is the result of the following code snippet?

16

11

13

10

2.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

  1. Which of the following is used for string concatenation in Python?

+

-

*

/

3.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

Media Image
  1. What will be the output of the following code?

7

25

10

2

4.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

  1. Which logical operator in Python represents "AND"?

&

&&

||

and

5.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

  1. What function is used to take user input in Python?

input()

get_input()

user_input()

enter()

6.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

  1. What is the correct way to import the random module in Python?

import random

use random

from random import *

include random

7.

MULTIPLE CHOICE QUESTION

5 sec • 10 pts

Media Image
  1. What will be the output of the following code?

HelloWorld

Hello World

Helloworld

Error: Strings cannot be concatenated directly.

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?