Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

*All refering to Python* QUESTION 1 A loop can also be known as a Decision Seque

ID: 3582715 • Letter: #

Question

*All refering to Python*

QUESTION 1

A loop can also be known as a

Decision

Sequence

Iteration

Structure

2 points   

QUESTION 2

Abstracts a program’s various tasks or function into separate named blocks of code.

Modularization

Code blocks

Subroutines

Flowcharts

2 points   

QUESTION 3

Boolean expressions are only true

True

False

2 points   

QUESTION 4

Component of a function used to get an output directly from that function.

for

output

return

print

2 points   

QUESTION 5

Considered the brain of the computer

GPU

CPU

RAM

HDD

2 points   

QUESTION 6

Loops are similar to decisions in that they have a condition statement which evaluates to a TRUE or FALSE value.

True

False

2 points   

QUESTION 7

Serves the same purpose as a list, but is considered less flexible.

Iteration

Arrays

Flowchart

Code

2 points   

QUESTION 8

The Python Framework does inform you where an error occurred.

True

False

2 points   

QUESTION 9

This programing element begins with the keyword def.

variables

functions

keywords

lists

2 points   

QUESTION 10

Used to define the scope in Python

{ }

sub

indentation

( )

Decision

Sequence

Iteration

Structure

Explanation / Answer

A loop can also be known as – Iteration

Abstracts a program’s various tasks or function into separate named blocks of code. – Modularization

Modularization is a process of divide the complex task into simple tasks and togther they perform a task.

Boolean expressions are only true – False. Boolean expressions may be true or false.

Component of a function used to get an output directly from that function. – return

return statement can outputs the function value directly.

Considered the brain of the computer – CPU is known as brain of computer.

Loops are similar to decisions in that they have a condition statement which evaluates to a TRUE or FALSE value. – Loops are used to execute a function or task repeatedly on certain times but the not conditions. So the given statement is true.

Serves the same purpose as a list, but is considered less flexible. - Arrays are working like list but these are less features comparative with lists.

The Python Framework does inform you where an error occurred. – The frame work let the programmer where the error takes place. True

This programing element begins with the keyword def. – def is a keyword used to function and followed by the function name and parentheses ( ( ) ).

define the scope in Python – () I used to define the scope in python.