FoP Prelims Review

FoP Prelims Review

University

86 Qs

quiz-placeholder

Similar activities

Инфо Теория 14бет-27 бет

Инфо Теория 14бет-27 бет

University

86 Qs

CS/IT Questions

CS/IT Questions

University

91 Qs

python

python

University

82 Qs

Teste HCIA-AI T1

Teste HCIA-AI T1

University

86 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

Python Quiz 4

Python Quiz 4

University

90 Qs

CS 241 Practice Test Week 4

CS 241 Practice Test Week 4

9th Grade - University

86 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?