Advanced Data Type and Decision Control Statements

Advanced Data Type and Decision Control Statements

University

42 Qs

quiz-placeholder

Similar activities

Java Midterm

Java Midterm

University

39 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

DFH Class XII

DFH Class XII

12th Grade - Professional Development

46 Qs

3rd Year August Quiz

3rd Year August Quiz

University

40 Qs

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

Exploring Python Fundamentals

Exploring Python Fundamentals

University

42 Qs

Midterm prep 7th

Midterm prep 7th

7th Grade - University

41 Qs

Advanced Data Type and Decision Control Statements

Advanced Data Type and Decision Control Statements

Assessment

Quiz

Computers

University

Hard

Created by

Chaitrali Kardile

Used 16+ times

FREE Resource

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a tuple in Python?
A mutable list
An immutable list
A set
A dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is mutable?
Tuple
String
List
Integer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which syntax creates a set?
{1,2,3}
[1,2,3]
(1,2,3)
{1:2, 3:4}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type allows duplicate values?
Set
Dictionary
List
Tuple

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create an empty dictionary?
{}
[]
()
dict()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an 'if' statement do?
Loops over a sequence
Defines a function
Executes a block if a condition is true
Declares a variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used in conditional statements?
elseif
elif
else
altif

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?