CISB 11 Module 10 and 11

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/88

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:26 AM on 7/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

89 Terms

1
New cards

What is a computer program?

a set of step by step instructions that tells the computer what to do

2
New cards

What is the difference between application programming and systems programming?

one is to create business and productivity applications, etc and the other is to create OS, device drivers, etc

3
New cards

Explain the primary difference between procedural programming and object oriented programming.

procedural focuses on step by step instructions in a program,  object focuses on objects in the program

4
New cards

Object

a person, place, or thing within the program (employee, pizza, GUI button)

5
New cards

Attribute

characteristic of an object (employee name, pizza diameter, button color)

6
New cards

Method

statements that define an action performed by an object or to an object (hire an employee, sell a pizza, click on a button

7
New cards

Message

line of code that "calls" or directs the program to perform a specific method

8
New cards

Class

group of objects that share common attributes (employees, menu items, GUI controls)

9
New cards

What are the five steps of the software development life cycle?

requirements analysis, design, development, testing, maintenance

10
New cards

requirements analysis

determines what it must do, when it has to be completed, programming language, interactions, documentation requirements

11
New cards

Design

designs the algorithm that the program will perform, using design tools such as pseudocode, program flowcharts, use case diagrams and class diagrams

12
New cards

Development

when a programmer converts the program design (flowchart, class diagram, etc.) into a functioning program using a programming language

13
New cards

Testing

programmers “run” the program by sending the program to a language translator

14
New cards

Maintenance

the process of fixing logic errors not caught in the debugging phase and/or updating the program in response to new requirements.

15
New cards

program flowcharts

use geometric shapes, lines and arrows to show the sequence of steps in a program

16
New cards

Pseudocode

uses short statements to explain the sequence of steps involved in a program

17
New cards

Use case diagram

documents the users of a program and the functions they perform class diagram

18
New cards

Sequence

the programming statements follow one after another in sequential order.

19
New cards

Selection

the programming statements that will be performed next depends upon whether a certain condition is true or false

20
New cards

Repetition

(also called loop or iteration) a block of programming statements repeats until a certain condition is met

21
New cards

Variable

one or more characters that represent the value of a data item within a program (FirstName, PhoneNum, PayRate)

22
New cards

keyword

words that a programming language has reserved for a specific function.

23
New cards

program comment

Text information placed within a program to explain the purpose of the programming code immediately following the comment

24
New cards

language translator

converts a programming language (called source code) into the 0's and 1's of a machine language (called object code)

25
New cards

language syntax

combination of rules, punctuation, capitalization and keywords that the program must follow

26
New cards

integrated development environment (IDE)

software package that provides tools to type and edit programming statements, automate and simplify parts of the coding process, debug errors and compile and run the program

27
New cards

source code

Computer instructions written in a high level language

28
New cards

object code

The low level instructions that result from compiling source code.

29
New cards

Debugging

process of finding and fixing errors in a computer program

30
New cards

beta testing

when a software company provides free review copies of a new program to selected companies.

31
New cards

Compiler

converts the entire application into object code before sending it to the CPU for processing.

32
New cards

interpreter

translates and executes programming code one line at a time as the program is being run.

33
New cards

Syntax error

when the programmer has not followed the rules or grammar of the programming language; can be detected by compiler

34
New cards

Logic error

when the program contains no runtime or syntax errors, but produces incorrect results due to using wrong logic; cannot be detected with compiler

35
New cards

What is beta testing?

when a software company provides free review copies of a new program to selected companies

36
New cards

program documentation

explains how the program is designed

37
New cards

program documentation

explains how the program is designed user documentation; explains how to use the program.

38
New cards

Describe the agile development methodology

When the requirements of a program are not easily defined and/or a goal is allowing users to participate in the development process

39
New cards

Python

simple syntax, procedural and object oriented paradigms

40
New cards

Ruby

used for web sites

41
New cards

Java

for web based programming and mobile app development

42
New cards

JavaScript

used for client side web scripting

43
New cards

Swift

created for Apple to replace objective C

44
New cards

The set of instructions that tells a computer what to do is called a ______________?

Computer program

45
New cards

A program design tool used to list the attributes and methods of objects within an object-oriented program is called _______________.

class diagram

46
New cards

___________ uses math and engineering techniques to reduce the cost and complexity of programs while increasing their reliability.

Software engineering

47
New cards

If a programmer makes a spelling mistake or violates the rules of the programming language the program will not run. This is called a __________ error.

syntax

48
New cards

When a program runs but provides the wrong output, the programmer has committed a __________ error.

logic

49
New cards

The software program that converts programming language code into binary code that can be read by the CPU is called a ________________.

compiler

50
New cards

The five steps performed by programmers to analyze, design, code, debug, and maintain a program is called the_______________________.

Software development life cycle

51
New cards

With regards to computer programming, what is a variable?

1+ characters that represent the value of a data item within a program

52
New cards

Software companies often provide its finished programs to other companies for free with the understanding that the other companies will use the program and report back to the software company any errors found in the program. This is called ___________ testing.

Beta

53
New cards

In object-oriented programming a(n) __________ is a person, place or thing within the program.

object

54
New cards

What is a computer program?

step by step instructions (called an algorithm) that tells the computer what to do

55
New cards

What is programming syntax?

combination of rules, keywords and punctuation that must be followed to write a program in a specific language

56
New cards

What is an IDE?

software package that contains code editor, debugger, and either an interpreter or compiler

57
New cards

What code would you type to display your first and last name on the monitor?

print()

58
New cards

What symbol does Python use to indicate a comment line?

#

59
New cards

What is a string?

a series of characters.

60
New cards

What symbol is placed at the beginning and end of a string?

“” Quotation marks

61
New cards

Keyword

words that have a predefined meaning

62
New cards

Debugging

process of finding bugs and fixing coding errors (bugs)

63
New cards

Variable

one or more characters that represent a value

64
New cards

Class

category of objects in which every object (called an instance) within that class will have similar attributes and methods

65
New cards

List

ordered group of items that can be numbers or strings

66
New cards

Function

block of code that performs a specific task

67
New cards

Method

statements that define an action performed by an object or to an object (hire an employee, sell a pizza, click on a button

68
New cards

What symbol is used to assign a value to a variable?

=

69
New cards

What are three common data types?

string (str), integer (int) and decimal (float)

70
New cards

What does the input() function do?

enable the users of a program to interact with the program and enter data

71
New cards

What are the arithmetic operators built into Python?

addition, subtraction, multiplication, division, modulus (remainder), exponent

72
New cards

What are the three control structures built into every programming language?

sequential, selection and iteration (repetition)

73
New cards

Sequential

does not require any keywords because the program statements are executed one after another in a linear fashion

74
New cards

Selection

when the code that is executed next depends upon whether a condition is true or false.

75
New cards

Repetition

enables programmers to write code that repeatedly executes the same programming statements until a certain condition tells the computer to stop repeating.

76
New cards

What are the six comparison operators built into Python?

== (equal to), !=(not equal to), >(greater than), < (less than), >=(greater than or equal to), <=(less than or equal to)

77
New cards

What are the three logical operators built into Python?

AND, OR and NOT

78
New cards

What is the result of the following line of code: Value = random.randint(1,10)

a random integer between 1 and 10

79
New cards

When a programmer wants the program to display text information on the computer screen, she uses the keyword ___________.

print

80
New cards

A variable that will contain decimal values will have what datatype? ____________

float

81
New cards

With Python the equal sign is represented by what two characters __________.

==

82
New cards

If a program is going to perform the same few lines of code many times, instead of typing the same lines over and over again the programmer will create a __________ that can be called (referenced) whenever the code is needed.

loop or iteration

83
New cards

The __________ control structure is when a few lines of code are repeated multiple times until a certain condition is reached.

repetition

84
New cards

The code that results in Python generating a random number between 1 and 52 is ______________.

import random

85
New cards

number = random.randint(1,52)

86
New cards

print(random.randint(1,52))

87
New cards

The code that creates a list variable that stores the colors red, white and blue is ____________________.

Color_List = [“red”,”white”,”blue”]

88
New cards

The program that a programmer needs to use to type, debug and compile a Python program is called a ___________________.

integrated development environment (IDE)

89
New cards

A _____________occurs when a program finishes but provides the wrong answer.

logic error