Programming Essentials, assignment help

User Generated

Anarggr

Programming

Description

Question 1

  1.  

    Considered the brain of the computer

    GPU

    CPU

    RAM

    HDD

4 points  

Question 2

  1.  

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

    Modularization

    Code blocks

    Subroutines

    Flowcharts

4 points  

Question 3

  1.  

    Scope is defined the same way in all programming languages.

4 points  

Question 4

  1.  

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

    Loop

    Decision

    sequence

    syntax

4 points  

Question 5

  1.  

    A loop can also be known as a

    Decision

    Sequence

    Iteration

    Structure

4 points  

Question 6

  1.  

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

    Iteration

    Arrays

    Flowchart

    Code

4 points  

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

4 points  

Question 8

  1.  

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

4 points  

Question 9

  1.  

    The Python Framework does inform you where an error occurred.

4 points  

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.

    For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). Content Editor

    Use arrow keys to select functions

    Path:

    Words:0

    4 points  

    Question 11

    1.  

      Used to define the scope in Python

      { }

      sub

      indentation

      ( )

    4 points  

    Question 12

    1.  

      This programing element begins with the keyword def.

      variables

      functions

      keywords

      lists

    4 points  

    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.

    4 points  

    Question 14

    1.  

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

      Global variable

      Code block

      Return

      Parameter list

    4 points  

    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.

    4 points  

    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

    4 points  

    Question 17

    1.  

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

    4 points  

    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

    4 points  

    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

    4 points  

    Question 20

    1.  

      What does the following comparison operator mean ==

      Equal to

      Approximately

      Greater than

      Not Equal

    4 points  

    Question 21

    1.  

      Boolean expressions are only true

    4 points  

    Question 22

    1.  

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

      Repetition

      Problem Solving

      Debugging

      Recursion

    4 points  

    Question 23

    1.  

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

    4 points  

    Question 24

    1.  

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

      for

      output

      return

      print

    4 points  

    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.

      For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). Content Editor

      Use arrow keys to select functions

      Path: 


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

1. CPU
2) Modularization.3. False
4. Syntax
5. Iteration6. Arrays
7.Structured Programming
8. True
9. True
10. a=input('...


Anonymous
I was stuck on this subject and a friend recommended Studypool. I'm so glad I checked it out!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags