FoP Prelims Review

FoP Prelims Review

University

86 Qs

quiz-placeholder

Similar activities

Arrays

Arrays

University

85 Qs

IIS Review Prep Quiz

IIS Review Prep Quiz

University

86 Qs

Python Quiz - 6 BF

Python Quiz - 6 BF

University

88 Qs

Data Science Fundamentals Worksheet

Data Science Fundamentals Worksheet

University

91 Qs

Exception Handling Package Interface Test

Exception Handling Package Interface Test

University

81 Qs

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz

University

84 Qs

QUIZ1

QUIZ1

1st Grade - University

86 Qs

Technical Quiz

Technical Quiz

University

84 Qs

FoP Prelims Review

FoP Prelims Review

Assessment

Quiz

Computers

University

Medium

Created by

DeCastro boi

Used 1+ times

FREE Resource

86 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of import statements in Python?

To define functions

To include external Python modules

To create variables

To write comments

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, how is a block of code defined?

Using curly braces { }

Using parentheses ( )

Using indentation

Using the block keyword

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid variable assignment in Python?

int x = I0

x := 10

10 = x

x = 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who created Python and when was it released?

Dennis Ritchie, 1970

Guido van Rossum, 1991

James Gosling, 1995

Bjarne Stroustrup, 1985

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start a single-line comment in Python?

/*

#

//

<!--

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Python data type?

list

array

dict

set

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a notable feature of Python's design philosophy?

Complex syntax

Significant whitespace

Case insensitivity

Mandatory variable declarations

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?