CIS 102 – Fall 2009
Midterm Exam 2 Study Guide
Format: Open book, open notes, open PC, multiple choice, approximately 25-30 questions, exam taken through Moodle with time limit of 60 minutes.
Study materials:
PowerPoints:
Data Types
Number Systems
Data Representation
Selection
Repetition
Reading Material – Introducing Small Basic pdf Ch. 4 & 5 (not Goto or branching)
Handouts – Activity 3, Activity 4, Activity 5, and ASCII Chart
Assignments – Assign 3 and Assign 4
Quizzes – Quiz 2 & 3
Topics :
Data Types
Number Systems
Data Representation
· Bit patterns
· Binary numbers
· Data type formats
· Character representation – ASCII Chart
· Integer representation – unsigned integer, signed positive integer, signed negative integer (two’s complement)
Selection
· Review sequence control structure
· Structure theorem – sequence, selection, repetition
· Selection control structure
· If statement
· Relational operators – <, >, =, <=, >=, <>
· Types of selection – simple, null else, combined (And & Or)
· Structured programming
· Truth tables
Repetition
· Review sequence and selection
· Repetition control structure
· While loops
· For loops
· Structured programming
· Hints for defining the problem – descriptive words (nouns) & action words (verbs) help with defining input/output and processing