MIS exam 1 study guide Essay

1825 Words Mar 10th, 2015 8 Pages
MISM2301 - Exam 1 Study Guide

To succeed in the exam, please be familiar with the following topics:
1. The Input-Process-Output model for information processing systems –
a. The difference between data and information
-[Data]: elementary description of things but not organized to convey specific meaning -[Information]: Data that has been organized so that they have meaning and value to the recipient
-DataàProcessing (Retrieve(检索)/Calculate/Transmit)àInformation
b. Three levels of processing: (1) transaction processing, (2) management and control, and (3) innovation, planning, and learning
Transaction Processing:

Management and
Control:

Innovation, Planning and Learning:

• Data entered & edited
• Data stored
• Computations performed
…show more content…
Lincoln= class name, main= method name

Statement:

A command to ask the program to do a certain action. Always ends with semi-colon “;”

e.g.

Variables:
• You need to first request a “storage space (or mailbox)” before you can use it.
• The storage space varies according to the data type.

Arithmetic Operation:

5+10=15
(15*10)/5=30

Output:





In Java, you can output the value of the variable “number1” through the command:
System.out.println(number1);
You can also make your output better by adding some explanation:
System.out.println(“The value of the valuable number1:” + number1);

5

Control: If-Else Statement
• IF statement controls the flow of a program by checking the specified condition.

While Loop:
• A while loop is useful when you need a program to repeat a certain action until a condition is not longer met.
• A counter is typically required to control the action of a while loop.

If true, run the action inside the { } and loop several times till false
Increment and Decrement Operators:
• The statement of “counter = counter + 1;” can also be written as the following forms:
– counter += 1;
– counter ++;
• Likewise, the statement of “counter = counter - 1;” can be written as:
– counter -= 1;

Related Documents