programming:Considered the brain of the computer, computer science homework help

User Generated

fcnmgnfgvp21

Programming

Description

QUESTION 1

1.  Considered the brain of the computer

GPU

CPU

RAM

HDD

QUESTION 2

1.  Abstracts a program’s various tasks or function into separate “modules” of reusable code.

Modularization

Code blocks

Subroutines

Flowcharts

QUESTION 3

1.  Scope is defined the same way in all programming languages.

 True

 False

QUESTION 4

1.  In structured programming, which of the following is NOT one of the three basic structures?

Loop

Decision

sequence

syntax

QUESTION 5

1.  A loop can also be known as a

Decision

Sequence

Iteration

Structure

QUESTION 6

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

Iteration

Arrays

Flowchart

Code

QUESTION 7

1.  This concept uses the three primary programming structures and logic development strategies that create well organized, easy to read, and easy to understand program code.

Unstructured Programming

Flowchart

Pseudocode

Structured Programming

QUESTION 8

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

 True

 False

QUESTION 9

1.  The Python Framework does inform you where an error occurred.

 True

 False

QUESTION 10

1.  Write a Python program that accepts a numeric value from the user and prints the number starting from 0 up to the user’s value.

QUESTION 11

1.  Used to define the scope in Python

{ }

sub

indentation

( )

QUESTION 12

1.  This programing element begins with the keyword def.

variables

functions

keywords

lists

QUESTION 13

1.  When does python limit access to global variables/objects from within a scope?

When there is the presence of a newly created local variable with the same name as a global variable.

When there is the presence of a newly created local variable with a different name than the global variable.

When there are no new variables.

When there is the presence of any newly created variable.

QUESTION 14

1.  Used to pass one or multiple values into a function for processing.

Global variable

Code block

Return

Parameter list

QUESTION 15

1.  Without lists and other collection objects such as arrays, vectors, and dictionaries, the processing capability of our programs would be greatly improved.

 True

 False

QUESTION 16

1.  One of the three programming structures that will choose one of two paths of execution based on the results of a true/false question:

Sequence

Iteration

Loop

Decision

QUESTION 17

1.  Because lists are sequences, indexing and slicing work the same way for lists as they do for strings.

 True

 False

QUESTION 18

1.  Which is the following is true about structured programming

Each structure should have one entry point, but can have multiple exit points

Each structure can have multiple entry points, but only one exit point

Each structure has no limit on the number of the entry points and exit points

Each structure should have one entry point and one exit point

QUESTION 19

1.  ____ within a list are identified by an index number, placed within square brackets after the name of the list. For example:

Decisions

Items

Elements

Code

QUESTION 20

1.  What does the following comparison operator mean ==

Equal to

Approximately

Greater than

Not Equal

QUESTION 21

1.  Boolean expressions are only true

 True

 False

QUESTION 22

1.  Programming method for solving a problem by solving a smaller version of the same problem repeatedly.

Repetition

Problem Solving

Debugging

Recursion

QUESTION 23

1.  Any problem that can be solved with recursion could be re-implemented with loops.

 True

 False

QUESTION 24

1.  Component to a function used to get output directly from a function.

for

output

return

print

QUESTION 25

1.  Define a Python list for the days of the week, and then use a loop (while or for) to print that list.


User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hello, here are your answers. If you need something more please contact me.

QUESTION 1
1. Considered the brain of the computer
GPU
CPU
RAM
HDD
QUESTION 2
1. Abstracts a program’s various tasks or function into separate “modules” of reusable code.
Modularization
Code blocks
Subroutines
Flowcharts
QUESTION 3
1. Scope is defined the same way in all programming languages.
True
False
QUESTION 4
1. In structured programming, which of the following is NOT one of the three basic structures?
Loop
Decision
sequence
syntax
QUESTION 5
1. A loop can also be known as a
Decision
Sequence

Iteration
Structure
QUESTION 6
1. Serves the same purpose as a list, but is considered less flexible.
Iteration
Arrays
Flowchart
Code
QUESTION 7
1. This concept uses the three primary programming structur...


Anonymous
I was struggling with this subject, and this helped me a ton!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags