Pre - Qualifier Assessments - Python Training

Pre - Qualifier Assessments - Python Training

Professional Development

15 Qs

quiz-placeholder

Similar activities

Study Comrade | Data Analytics

Study Comrade | Data Analytics

University - Professional Development

20 Qs

interface and abstract class

interface and abstract class

Professional Development

11 Qs

Python Quiz : Loop

Python Quiz : Loop

Professional Development

13 Qs

Java Review

Java Review

Professional Development

19 Qs

IT Governance Teknoloji Kampı Yetkinlik Ölçümü

IT Governance Teknoloji Kampı Yetkinlik Ölçümü

Professional Development

10 Qs

occupational health and safety

occupational health and safety

Professional Development

10 Qs

Python Code

Python Code

8th Grade - Professional Development

20 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

Pre - Qualifier Assessments - Python Training

Pre - Qualifier Assessments - Python Training

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

training atomm

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of these data types does Python not natively support?

Lists

Tuples

Arrays

Dictionaries

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the output of the following code snippet:
print(type("Hello, World!"))

<class 'str'>

<class 'int'>

<class 'list'>

<class 'list'>

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following pseudocode?
Initialize x as 10;
If x is of type int,
print "Integer"
else
print "Not Integer"

Integer

Not Integer

Error

None

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Evaluate this pseudocode:
Set x = [1, 2, 3];
If x is a list, print length of x, else print "Not a list"

3

0

1

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default type of data returned by the input() function in Python 3.x?

int

string

boolean

list

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will be the output of
print("Python", "Programming", sep="-")

Python-Programming

Python Programming

PythonProgramming

Python,Programming

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Find the mistake:
user_input = input("Enter a number: ");
print("You entered: ", int(user_input))

Syntax error

No error

int() should be str()

input() function used incorrectly

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?