IT101-1 Exam

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

1/70

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:52 AM on 9/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

71 Terms

1
New cards

Hardware and Software

the two majors components of any computer system

2
New cards

Hardware

equipment, or devices (tangible parts)

3
New cards

Software

programs that contain instructions for the computer

4
New cards

Four major operations in a computer

  • Input

  • Processing

  • Output

  • Storage


5
New cards

Input devices

allow data to enter the computer

  • ex. Mouse, keyboard, scanner


6
New cards

Central Processing Unit (CPU)

hardware that performs the tasks

7
New cards

Output devices

provide data to the user

  • ex. Printer, monitor, speaker


8
New cards

Programming language

special language containing instructions for the computer

  • ex. Visual Basic, Java, C#, C++, COBOl


9
New cards

Syntax

rules governing word usage and punctuation in the language

10
New cards

Machine Language

controls the computer's on/off cicuitry

11
New cards

Compiler or interpreter

software that translates programming languages to machine language

12
New cards

Understand the problem

  • May be the most difficult phase

  • Users may not be able to articulate their needs well

  • User needs may be changing frequently

  • Programmers may have to learn the user's Functional job tasks


13
New cards

Plan the logic

  • Plan the steps that the program will take

  • Use tools such as flowcharts and pseudocode

  • Walk through the logic before coding by desk - checking the logic


14
New cards

Code the program

  • Select the programming language

  • Write the instructions

  • Planning generally more difficult than coding


15
New cards

Use software to translate the program to machine language

programmers write instructions in high-level languages that resemble a natural language

16
New cards

Compilers or interpreters

change the programs into a low-level machine language

17
New cards

Syntax errors

are identified by the compiler or interpreter

18
New cards

Test the program

  • Execute it with sample data and check results

  • Identify logic errors and correct them

  • Choose test data carefully to exercise all branches of the logic


19
New cards

Put the program into production

  • Might mean simply running the program once

  • Process might take months if program is used on regular basis or is part of larger development


20
New cards

Maintain the program

  • Maintenance

  • Common first programming job

  • Make changes to existing programs


21
New cards

Documentation

supporting paperwork for a program

22
New cards

Conversion

entire set of actions organization must take to switchover to new programs

23
New cards

Prompt

  • message displayed on a monitor

  • Asks the user for a response


24
New cards

Command prompt

location to type entries to communicate with the operating system

25
New cards

Graphical User Interface (GUI)

allows users to interact with a program in a graphical environment

26
New cards

Flowchart

A pictorial representation of the logic steps

27
New cards

Pseudocode

  • Natural language representation of the logic

  • English-like representation of the lo


28
New cards

Flowlines

  • Connect the steps

  • Show the sequence of statements

  • Have arrows to show the direction


29
New cards

Terminal symbol

Shows the start and end points of the statements

30
New cards

Oval

Start/end

31
New cards

Paralellogram

Input/Output

32
New cards

Rectangle

Process

33
New cards

Diamond

Decision

34
New cards

Infinite loop

  • a sequence of statements that repeats forever with no escape

  • avoid infinite loops by testing for a predetermined value that means "stop processing"


35
New cards

Decision

testing a value

36
New cards

Sentinel value

  • Does not represent real data

  • Signal to stop

  • Can be used with input from files or from users


37
New cards

End-of-file(EOF) marker

  • Code stored in the file that marks the end of the data

  • Usually used instead of a sentinel value for file input


38
New cards

Flowchart connector symbol

  • Marks a logic transfer to another location in the flowchart

  • Transfer location can be on the same page or on another page


39
New cards

On-page symbol

a circle with a number or letter to identify the matching transfer location

40
New cards

Off-page symbol

a square with pointed bottom, containing page number and a number of letter to identify the matching transfer location (banner symbol)

41
New cards

Variable

A memory location whose contents vary; also called an identifier

42
New cards

Text

stored by string, text, or character variables

43
New cards

Numeric

stored by numeric variables

44
New cards

Constants

  • Values that do not change while the program is running

  • Have identifiers, and can be used like variables for calculations, but cannot be assigned new values


45
New cards

Integer

Whole numbers only

46
New cards

Floating-point

fractional numeric values with decimal points

47
New cards

Procedural programming

focuses on the procedures that programmers create

48
New cards

Object-oriented programming

focuses on objects that represent real-word things and their attributes and behaviors

49
New cards

Data Items

  • All the text, numbers, and other information that are processed by a computer

  • Stored in variables memory


50
New cards

Declaration

Statement that provides a data type and an identifier for a variable

51
New cards

Identifier

Variable's name

52
New cards

Garbage

Variable's unknown value before initialization

53
New cards

Camel casing

Variables names such as hourlyWage have a "hump" in the middle

54
New cards

Magic number

  • Unnamed constant

  • Purpose is not immediately apparent

  • Avoid this


55
New cards

Spaghetti code

Snarled program logic

56
New cards

Sequence

  • Perform actions in order

  • No branching or skipping any task


57
New cards

Selection (decision)

  • Ask a question, take one of two actions

Dual-alternative or single-alternative ifs

58
New cards

Loop

Repeat actions based on answer to a question

59
New cards

Priming read (or priming input)

  • Reads the first input data record

  • Outside the loop that reads the rest of the records

  • Helps keep the program structured


60
New cards

Dual-alternative (or binary) selection structure

Provides an action for each of two possible outcomes

61
New cards

Single-alternative (or unary) selection structure

  • Action is provided for only one outcome

  • if-then


62
New cards

if-then clause

Holds the action or actions that execute when the tested condition in the decision is true

63
New cards

else clause

Executes only when the tested condition in the decision is false

64
New cards

Compound condition

Asks multiple questions before an outcome is determined

65
New cards

AND decision

  • Requires that both of two tests evaluate to true

  • Requires a nested decision (nested if) or a cascading if statement


66
New cards

Conditional AND operator

  • Ask two or more questions in a single comparison

  • Each Boolean expression must be true for entire expression to evaluate to true


67
New cards

Truth tables

Describe the truth of an entire expression based on the truth of its parts

68
New cards

Short-circuit evaluation

Expression evaluated only as far as necessary to determine truth

69
New cards

OR decision

Take action when one or the other of two conditions is true

70
New cards

Conditional OR operator

  • Ask two or more questions in a single comparison

  • Only one Boolean expression in an OR selection must be true to produce a result of true


71
New cards

Range check

  • Compare a variable to a series of values between limits

  • Use the lowest or highest value in each range

  • Adjust the question logic when using highest versus lowest values