Study Guides (390,000)
US (220,000)
UMD (10,000)
BMGT (300)
Study Guide

# BMGT 302- Final Exam Guide - Comprehensive Notes for the exam ( 24 pages long!)

Department
Course Code
BMGT 302
Professor
Peter Huang
Study Guide
Final

This preview shows pages 1-3. to view the full 24 pages of the document.
UMD
BMGT 302
Final EXAM
STUDY GUIDE

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

Lecture BMGT302
Programming
Algorithm- an ordered sequence of unambiguous and well-defined instruction
that performs some task and halts in finite time
Representing algorithms
Pseudocode- list of instructions to perform some task (English-like), and uses
short phrases to describe steps needed
Flowchart- pictorial representation of logical steps to perform a task. Uses
standardized symbols to show the steps to reach its goal
Sequence control with types of instructions:
Input= get
Process/calculation= “=”
Output= display
The sequence was: 1. Get price, 2. Get sales tax rate, 3. Sales tax = price of item sales
tax rate, 4. Final price = price of item plus sales tax, 5. Display final price, 6. Halt
Variables: price of item, sales tax rate, sales tax, final price
Selection/decision control
1. Get hours worked
2. Get pay rate
3. If hours worked <= 40 then
a. Gross pay = pay rate times hours worked
4. Else
a. Gross pay = pay rate times (40 plus 1.5 times (hours worked minus 40))
5. Display gross pay
6. Halt
Variables: hours worked, pay rate, gross pay
Loop/repetition control
1. Get number of quizzes
2. Sum = 0
3. Count = 0
4. While count < number of quizzes then
b. Sum = sum + quiz grade
c. Count = count + 1
5. Average = sum/count
find more resources at oneclass.com
find more resources at oneclass.com

Unlock to view full version

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

6. Display average
7. Halt
Variables: number of quizzes, sum, count, quiz grade, average
find more resources at oneclass.com
find more resources at oneclass.com