Python and C Programming Quiz

Python and C Programming Quiz

University

50 Qs

quiz-placeholder

Similar activities

Quiz sobre Estructura de Datos: Grafos

Quiz sobre Estructura de Datos: Grafos

University

50 Qs

Data Manegment

Data Manegment

University

54 Qs

SEMANA 12 - ADMINISTRACION DE OPERACIONE

SEMANA 12 - ADMINISTRACION DE OPERACIONE

University

54 Qs

Johnson Controls India Assessment Test 02

Johnson Controls India Assessment Test 02

University

50 Qs

Parts of Speech in Automation and Robotics

Parts of Speech in Automation and Robotics

University

50 Qs

Unit 3.2 – Pumps

Unit 3.2 – Pumps

University

47 Qs

QUIZ PTI PERTEMUAN I-III

QUIZ PTI PERTEMUAN I-III

University

45 Qs

MID SEMESTER ENGLISH ENGINEER

MID SEMESTER ENGLISH ENGINEER

University

50 Qs

Python and C Programming Quiz

Python and C Programming Quiz

Assessment

Quiz

Engineering

University

Hard

Created by

Gunasree Sidda

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of print(2 * 3)?

5

6

23

None

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to define a function?

func

define

def

function

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of print(type("Hello"))?

<class 'str'>

<class 'int'>

<class 'char'>

<class 'text'>

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a valid variable name?

2name

name_1

@name

name-1

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does len([1, 2, 3]) return?

1

2

3

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is mutable?

Tuple

String

List

Integer

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you start a comment in Python?

//

#

/*

--

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?