PYTHON QUIZ 1

PYTHON QUIZ 1

University

10 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

KG - University

15 Qs

Computational Thinking in Python[Quiz 2]

Computational Thinking in Python[Quiz 2]

University

15 Qs

Chapter 1: Python Overview

Chapter 1: Python Overview

University

10 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Python Programming Basics

Python Programming Basics

University

14 Qs

Python

Python

7th Grade - Professional Development

13 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Session 2 Quiz

Session 2 Quiz

University

10 Qs

PYTHON QUIZ 1

PYTHON QUIZ 1

Assessment

Quiz

Computers

University

Medium

Created by

Sandhya .

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Python?

Dennis Ritchie

Guido van Rossum

James Gosling

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to output data to the screen in Python?

scanf( )

input( )

print( )

write( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment in Python?

// This is a comment

/* This is a comment */

<!-- This is a comment -->

# This is a comment

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

variable1

1variable

variable-name

class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of type(10)?

<class 'int'>

int

<int>

Integer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 3 ** 2 in Python?

6

9

8

5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a logical operator in Python?

and

&&

&

|

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?