Python Fundamentals Assessment

Python Fundamentals Assessment

Professional Development

22 Qs

quiz-placeholder

Similar activities

core java basics

core java basics

Professional Development

25 Qs

Google Level 1 Prep

Google Level 1 Prep

Professional Development

17 Qs

class ,objects,variables & methods

class ,objects,variables & methods

Professional Development

25 Qs

PHP

PHP

Professional Development

19 Qs

PythonDataStructure

PythonDataStructure

Professional Development

21 Qs

Digital Marketing Review

Digital Marketing Review

Professional Development

20 Qs

HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Professional Development

20 Qs

HACKATHON HUSTLE(ROUND 1)

HACKATHON HUSTLE(ROUND 1)

Professional Development

20 Qs

Python Fundamentals Assessment

Python Fundamentals Assessment

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Samuel Okon

Used 1+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the correct way to declare a variable in Python?

x : 10

x = 10

let x = 10;

var x = 10;

2.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Which of the following is not a data type in Python?

string

boolean

float

character

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What data structure is used to store multiple items in a single variable?

Set

Queue

List

Map

4.

MULTIPLE CHOICE QUESTION

30 sec • 17 pts

What is the output of the following code: print(type(5))?

<class str>

<class int>

<class float>

<class bool>

5.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Which keyword is used to define a function in Python?

method

def

function

define

6.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What will be the output of the following code: print(3 * 'Python')?

PythonPython

3PythonPython

PythonPythonPython

Python3Python

7.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which of the following is a mutable data type in Python?

tuple

list

set

frozenset

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?