Pre - Qualifier Assessments - Python Training

Pre - Qualifier Assessments - Python Training

Professional Development

15 Qs

quiz-placeholder

Similar activities

Quiz 2 Internship on Fundamentals of Python

Quiz 2 Internship on Fundamentals of Python

Professional Development

15 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

Python Test 4A

Python Test 4A

Professional Development

10 Qs

PHP

PHP

Professional Development

19 Qs

Day-4 IOAC - ML Python Assessment_12th-Feb-2023

Day-4 IOAC - ML Python Assessment_12th-Feb-2023

Professional Development

10 Qs

Python Code

Python Code

8th Grade - Professional Development

20 Qs

python file handling

python file handling

Professional Development

10 Qs

Java Collections

Java Collections

Professional Development

14 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?