2nd Year August Quiz

2nd Year August Quiz

University

40 Qs

quiz-placeholder

Similar activities

Security Part 2( Technical Diploma)

Security Part 2( Technical Diploma)

University

35 Qs

OCR J277 GCSE Paper 1 Recap

OCR J277 GCSE Paper 1 Recap

9th Grade - University

35 Qs

Data Spark AI

Data Spark AI

University

40 Qs

Introduction to Machine Learning

Introduction to Machine Learning

University

40 Qs

digital fluency - Test

digital fluency - Test

University

40 Qs

Oshwal College ICT Competition 2024

Oshwal College ICT Competition 2024

12th Grade - University

35 Qs

Intelligent Systems Midterm Exam

Intelligent Systems Midterm Exam

University

40 Qs

Speech Recognition: Mid Test Preparation

Speech Recognition: Mid Test Preparation

University

45 Qs

2nd Year August Quiz

2nd Year August Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Anand Bhasme

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correct variable name in Python?

1variable

variable_1

variable-1

variable#1

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct way to create a list in Python?

mylist = [1, 2, 3]

mylist = (1, 2, 3)

mylist = {1, 2, 3}

mylist = <1, 2, 3>

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following code?

5

10

15

Error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the print() function do in Python?

Prints data to the console

Saves data to a file

Converts data to a string

Executes data

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the pass statement in Python?

To terminate a loop

To skip a block of code

To raise an exception

To indicate no action is required

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following code?

[4, 1, 2, 3]

[1, 2, 3, 4]

None

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following methods is used to add an element at a specific index in a list?

append()

insert()

extend()

add()

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?