Shared Flashcard Set

Details

Programming CH 1
Chapter 1
29
Computer Networking
Undergraduate 3
08/22/2013

Additional Computer Networking Flashcards

 


 

Cards

Term

  Types of computer language

Definition

Machine language

 

§  Understood directly by the microprocessor but difficult for humans

 

Higher-level language   

§  Visual Basic is an example of this it consist of intructions that people can relate

 

Term

 

What is GUI?

 

 

Definition

 

Graphical user interface

 

o   They programs employ objects such as windows, icons and menus that can be manipulated by a mouse,

 

o   Non-GUI-based programs use only text and are accessed solely via a keyboard

Term

How do we get computers to perform complicated tasks?

Definition

 

Tasks are broken in to sequences

Term
A sequence of instructions is called a
Definition
program
Term
The process of executing the instructions is called
Definition
Running the program
Term
What is a programmer?
Definition

 Also referred to as a developer is a person who solves problems by writing programs on a computer.

 

Term
What is a User?
Definition

This is any person who runs a program

Term

Most programs do 3 things

Definition

 

 Take in data (input),

Manipulate data (processing),

 Produce desired results (output)

 

 

o   Input data might be held in a  program, on a disk, or provided by a user

 

o   Processing is done internally and can vary in time

 

o   Output is displayed on the monitor, printed or recorded on a disk

 

Term
What is a zero-based numbering system?
Definition

  Zero-based numbering system

  Counting begins with zero instead of one

Term
What is Hardware?
Definition

 

The physical components of the computer, including all peripherals, the central processing unit, disk drives, and all mechanical and electrical devices.

 

Term
What is software?
Definition

These are the programs

Term
What is application software?
Definition
Programs written for a specif application to perform functions specified by end users.
Term

How are problems solved with a program?

Definition

§ 

Problems are read to determine what data are given and what outputs are requested. Then a step-by-step procedure is devised to process the given data and produce the requested output.

Term
The combination Key 1+Key 2 means
Definition
hold down key 1 and then press key 2.
Term
The combination CTRL +C
Definition
places selected material into the Clipboard
Term
The combination Key1/Key2 means
Definition
Release key 1 and then press key 2
Term
The combination Alt/F
Definition
opens the File menu on a menu bar
Term

Performing a Task on the Computer

3 steps

Definition

§  First determine what the desired output will be.

§  Second, Identify the data, or input, necessary to obtain the output.

§  Third, determine how to process the input to obtain the desired output ( what formulas or ways of doing things should be used to get the desired output)

Term

Programing Planning

 

 

 

§  Software Development Life Cycle - A sequence of steps

 

 

Definition

o   Analyze – Define the Problem

§  Have an understanding of what the program needs to do (output)

§  Have a clear idea of what data (input) are given and the relationship between the input and the desired output

o   Design – Plan the solution to the problem

§  Find a logical sequence of precise steps that solve the problem

·         These type of steps are called an Algorithm

o   Ever step including the obvious steps, should appear in the algorithm.

o   Design the interface – Select the objects (text boxes, buttons, etc.)

§  Determine how the input will be obtained and how the output will be displayed. Then create objects to receive the input and display the output. Also, create appropriate buttons and menus to allow the user to control the program.

o   Code – Translate the algorithm into a programming language

§  Coding is the technical word for writing the program. During this stage, the program is written in Visual Basic and entered into the computer. The programmer uses the algorithm devised in Step 2 along with knowledge of Visual Basic.

o   Test and Correct – Locate and remove any errors in the program

§  Testing is the process of finding errors in a program ( this is also called a  Bug and testing and correcting is often referred to as Debugging)

o   Complete the Documentation- Organize all the material that describes the program

§  Documentation is intended to allow another person or the programmer at a later date, to understand the program. This could be a detailed description of what the program does and how to use it. Although documentation is listed as the last step it should take place as the program is being coded.

Term

PROGRAMMING TOOLS

 

 

 

§  Three tools used to convert algorithms into computer programs

 

 

Definition

 

o   Flowcharts

 

o   Pseudo code

 

o   Hierarchy charts

 

Term
Flowcharts
Definition

Graphically depict the logical steps to carry out a task and show how the steps relate to each other

Term
{image:|}
Definition

   Used to connect symbols and indicate the flow of logic

 

Term
Terminal
Definition
Used to represent the beginning (start) or the end of a task
Term
Input/Output
Definition

Used for input and output operations, such as reading and displaying. The data to be read or displayed are described inside

Term
Processing
Definition

Used for arithmetic and data-manipulation operations. The instructions are listed inside the symbol

Term
Decision
Definition

Used for any logic or comparison operations. Unlike the input/output and processing symbols, which have one entry and one exit flowline the decision symbol as one entry and one exit paths. The path chosen depends on whether the answer to a question is “yes” or “no”

Term
Connector
Definition
Used to join different flowlines
Term
Annotation
Definition

Used to provide additional information about another flowchart symbol

Supporting users have an ad free experience!