Python Basics

Python Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz Game

Quiz Game

KG - Professional Development

12 Qs

isc2 sample questions

isc2 sample questions

Professional Development

14 Qs

Digital Technology Office 365 - 29May2020

Digital Technology Office 365 - 29May2020

University - Professional Development

13 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

Topic Quiz-1 : Python Basics

Topic Quiz-1 : Python Basics

Professional Development

10 Qs

Mothers Competition

Mothers Competition

Professional Development

10 Qs

JavaScript Quiz

JavaScript Quiz

Professional Development

10 Qs

Digitalization of Performance task on LMS- KALINGA

Digitalization of Performance task on LMS- KALINGA

Professional Development

15 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Vishal Sharma

Used 137+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following?


a = True

b = False

c = False


if a or (b and c):

print("GEEKSFORGEEKS")

else:

print("geeksforgeeks")

geeksforgeeks

GEEKSFORGEEKS

error

no output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code :


print(9//2)

4.5

4.0

error

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a standard data type?

Tuple

Class

Dictionary

List

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the object below ?


L = [1, 23, ‘hello’, 1]

List

Tuple

Dictionary

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Python case sensitive when dealing with identifiers?

Machine Dependent

Yes

No

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is invalid?

_a=1

__a=1

__a__=1

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to store values in terms of key and value we use what core data type.

Dictionary

Tuple

List

None of the above

Create a free account and access millions of resources

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?