0% found this document useful (0 votes)
20 views4 pages

IIT401

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views4 pages

IIT401

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Computers of Individual Use Two Types of Software

Desktop Computers - Most common type of computer. System Software - Most Important Software
Workstations - More Powerful than a desktop Application Software - Accomplishes a
Notebook Computers - Small Portable Computers Specific Task
Tablet Computers - Newest development in portable
computer. Number System - A manner of Counting
Handheld Computer - Very small Computers Decimal Number System - Used by Humans
Smartphones - Hybrid of cellphone and PDA Binary Number System - Used Computers
to count
Computers for Organization Bits and Bytes - Binary are made of bits,
Network servers - Centralized Computer Byte represents one character
Mainframe - Used in large Organizations Text Codes - Converts letters to binary
Minicomputers - Used in smaller organizations ASCII - American English Symbols
Supercomputers - Most powerful computer Extended ASCII - Graphics and Other
Symbols
Unicode - All Languages on the Planet
Computers in Society
Computers at Home - Many homes
Have multiple computers Types of Oparating System
Computers in Education - Required at all levels Real-Time - Very fast small OS
Computers in small business - Makes businesses more Single User - One user
profitable Multitasking - User performs many task at
Computers in Industry - Used to design Products once
Computers in Government - To track data Multi- User - Many users connect to one
Computer in Health Care - Revolutionized health care Computer

User Interface - interacts with a computer


Parts of Computer System
Graphical User Interface - Most common
Hardware - Anything that can be touch
interface
Software - Tell the computer what to do
Command-Line Interface - Older Interface
Data - Pieces of information
Users - People operating the computer
Enhancing OS
Utilities
Steps to Process Data
Backup Software
1. Input
Anti-Virus Software
2. Processing
Firewall
3. Output
Intrusion Detection
4. Storage

Hardware Components
Central Processing Unit (CPU) - Brain of the computer
Main Memory - Stores data
Random Access Memory - Stores current data
Read Only Memory - Permanent storage of Programs
Algorithm - A process that performs some sequence
of operations in order to solve a given problem
Flowchart - A graphical representation of steps
Common Symbol

Iostream - header files gives program access


Comments - Used to explain the code
Special Symbols - Smallest unit of program
Variables & Assignments - Manipulates data
Declaring Variables - Associates type with
variable name
Identifier - Sequence of letters, digits, and
underscores
Keywords - A reserved words
Whitespaces - Include blanks,tabs,&newline

Cannot be USED as IDENTIFIERS


● Int - 3, 42, 5333, -545. num_of_bars
● float - 1.34, 55.5. one_weight
● double - 4353574574474
● char - H, h
● const - unchageable
PROGRAM DEVELOPMENT LIFE CYCLE
● void
1. Problem Analysis
● return
2. Program Design
3. Program Coding
4. Program Testing
5. Program Implementation
Types of Program Errors Data Stream - A sequence of Data
Syntax Errors - Compiler finds wrong Cout - sending data to the monitor
Semantic Errors - Improper use of Cin - input stream
statements C++ is case sensitive
Logical Errors - When your program
complies and runs but does the wrong thing
!

Integer Types
long int - Large Integers (often 4 bytes)
short int - Smaller Integers (often 2 bytes)
Types of Operators
Assignment - To assign values to variables
long double - up to 19 digits (often 10 bytes)
Arithmetic - Creating your programs
float - up to 7 digits (often 4 bytes)
Relational - Compare two values
Logical - one or two boolean
bool is new addition to C++
Conditional - Three Arguments
either true or false

You might also like