=========================preview======================
(COMP102)final001.pdf
Back to COMP102 Login to download
======================================================
.
INTRODUCTION TO COMPUTER SYSTEMS (Chapter 1)

.
DATA REPRESENTATIONS, STATEMENTS & I/O (Chapter 2 & 3)

.
Data types

.
Identi.ers, variables & constants

.
Type casting

.
Compiler directive #include

.
I/O operators cin & cout

.
Assignment statements

.
Expressions, operators & operator precedence



.
SETECTION STRUCTURES (Chapter 5)

.
Relational & logical operators

.
Logical expressions

.
if, if-else, if-else-if and nested if statements

.
switch statements



.
LOOPS (Chapter6)

.
for loops

.
while loops


.
do-while loops

.
Increment and decrement operators

.
Nested loops



.
PROGRAM DESIGN & PROCEDURAL ABSTRACTION (Chapter 4)

.
Top-down design & stepwise re.nement

.
Function prototypes and function de.nitions

.
Argument Passing: pass-by-value & pass-by-reference

.
Scope rules



.
FILES and FORMATTING (Chapter 2 & 7)

.
Standard I/O streams

.
External .le streams

.
Stream I/O manipulator functions and .ags



.
ARRAYS (Chapter 8)

.
Array de.nitions and initializations

.
Operations on arrays

.
Arrays as arguments

.
Multidimensional arrays



.
CHARACTER STRINGS (Chapter 13)

.
Character string represetations

.
String I/Os

.
String manipulation functions



.
SORTING & SEARCHING (Chapter 8)

.
Linear search for ordered & unordered arrays

.
Binary search

.
Selection sort

.
Bubble sort



.
STRUCT DATA TYPE (Chapter 10)

.
Enumeration types

.
Struct de.nitions & initializations

.
Structs as operands and arguments

.
Array of structs



.
RECURSION (Chapter 6)


COMP102 Topics for final exam
COMP102 Topics for final exam