Pre - Qualifier Assessments - Python Training

Pre - Qualifier Assessments - Python Training

Professional Development

15 Qs

quiz-placeholder

Similar activities

Post test data science day 24

Post test data science day 24

Professional Development

10 Qs

IOAC - ML Batch Pre-Assessment -4th-Feb

IOAC - ML Batch Pre-Assessment -4th-Feb

Professional Development

10 Qs

Python

Python

Professional Development

10 Qs

PHP

PHP

Professional Development

19 Qs

LC - Aula 04

LC - Aula 04

Professional Development

10 Qs

Python-1

Python-1

Professional Development

11 Qs

Quiz for Module3

Quiz for Module3

Professional Development

20 Qs

Week_2

Week_2

Professional Development

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