MLP LA-2 Quiz 1

MLP LA-2 Quiz 1

University

50 Qs

quiz-placeholder

Similar activities

UNIT II Supervised Learning QUIZ Part 1

UNIT II Supervised Learning QUIZ Part 1

University

55 Qs

Midterm Revision

Midterm Revision

University

55 Qs

Aptitude Test 9 (10th July 2021)

Aptitude Test 9 (10th July 2021)

University

46 Qs

Sports Quiz

Sports Quiz

KG - Professional Development

50 Qs

Carbohydrates_Quiz

Carbohydrates_Quiz

University

45 Qs

UTS Embedded System Programming

UTS Embedded System Programming

University

50 Qs

AGR 318 (CHAPTER 1,2,3,4 & 5)

AGR 318 (CHAPTER 1,2,3,4 & 5)

University

50 Qs

LATIHAN SOAL PAS

LATIHAN SOAL PAS

11th Grade - University

50 Qs

MLP LA-2 Quiz 1

MLP LA-2 Quiz 1

Assessment

Quiz

Other

University

Medium

Created by

Pramod N

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these is a mutable data type in Python?
tuple
list
string
int

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you declare a variable in Python?
int x = 5
x := 5
let x = 5
x = 5

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does '==' operator check in Python?
Assignment
Reference
Equality
Identity

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function returns the length of a list?
count()
length()
len()
size()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method adds an element to the end of a list?
add()
push()
append()
insert()

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of list slicing [1:4]?
First 4 elements
Index 1 to 3
Index 0 to 4
All elements

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword is used for conditional branching in Python?
switch
case
if
match

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?