Sei sulla pagina 1di 21

Computer

Programming

Zain Ul Abideen Tariq


BE (Computer Engineering, NUST)
MS (Computer & Communications Security, NUST)

Date: 5 Sep 2018

DEPARTMENT OF COMPUTER
SCIENCE
Air University, Islamabad
Presentation Outline
 Course Objectives
 Course Information
 Computer Components
 Computer Organization
 Operating System
 Programming Languages
 High Level/ Low Level Languages
 Questions & Answers
Course Objectives
 Understand basic concepts of Computer Hardware, Software,
Programming Languages, Programming Environment and
Concepts.
 Understand and Design algorithms and program flow using
pseudocode and visual modeling.
 Basics of C++ Procedural Programming, structure, elements,
expressions, interactivity and control structures.
 Create entry-level programs from models.
 how and when to apply Decisions and Repetition Loops.
 Familiarity with Debugging Process.
 Basic data structures like arrays, pointers, structures and
understand their relationships
 Analyze, Design, Develop and Implement solutions to the range
of problems using variety of programming skills and strategies.
Course Information
 Credit Hours: 4.0
 Theory: 2.0 Credit Hours
 Lab: 2.0 Credit Hours

 Duration: 16 Weeks (Sep 2018 to Dec 2018)


Course Information
 Grading:

Theory (75) Lab (25)


Evaluation Evaluation
Method Distribution Marks Method Distribution Marks

Quizzes (4) 15 % 11.25 Quizzes (4) 10 % 2.5


Total
Assignments (4) 10 % 7.5 Lab Tasks 15 % 3.75

Midterm Exam 25 % 18.75 Midterm Exam 25 % 6.25

Final Exam 50 % 37.5 Project 50 % 12.5

Total 100 % 75 Total 100 % 25 100


Course Information
Reference Books:
• Deitel and Deitel, “C++ How to Program”
(8th or 9th Edition), Available as e-book and
paper book

• Robert Lafore, “Object-Oriented


Programming in C++”, 3rd or 4th Edition

• Stephen R Davis, “C++ for Dummies”, 7th


Edition or onwards

• Gaddis, Walters & Muganda, “Starting


Out with C++: Early Objects”, 7th Edition
or onwards
Useful Links:
http://www.cplusplus.com/
Computer Components

 Computer – programmable
machine designed to follow
instructions
 Program – instructions in
computer memory to make it do
something
 Hardware - the physical and
tangible components of the
computer system.
 Software – the intangible
components of the computer
system. Operating System,
Programs & Applications.
Computer Components

• Central Processing Unit (CPU)/ System Unit


• Brain of the Computer
• Carries out all control, logical and arithmetic operations.
• Executes commands and instructions

• Main Memory
• Volatile memory
• Erased when power is off
• Also called Random Access Memory (RAM)
• Sizes: 128 MB, 256 MB, 1 GB or more
Computer Components

• Secondary Memory / Storage\


• Non-volatile: data retained when program is not running or
computer is turned off
• Examples:
• Magnetic: floppy disk, hard drive,
• Optical: CD-ROM, DVD,
• Solid-state: Flash drives, connected to the USB port

• Input Devices
• Devices that send information to the computer from outside
• Examples:
• Keyboard, mouse, scanner, digital camera, microphone
• Disk drives, CD drives, and DVD drives
Computer Components

• Output Devices
• Devices that send information from the computer to outside
world.
• Examples:
• Monitor, Speakers, Digital TV,
• Disk drives, CD drives, and DVD drives
Computer Components
Central Processing
Unit (CPU)/
Computer Organization
Operating System

Set of programs that manages


the computer’s hardware
devices and controls their
processes.
Operating System
Programming Languages
 A program is a set of instructions that the computer
follows to perform a task.
 Examples: C, C++, C#, Java, FORTRAN, Perl,
Python, Javascript, Pascal, Ruby, VisualBasic
High / Low Level Languages
Types of Programming Languages:
• Low-level:
• Used for communication with computer hardware
directly.
• Often written in binary Machine Code (0’s/1’s)
directly.
• Middle Level:
• Use of mnemonics to create instructions
• Assembly Language
• High-level:
• Closer to human language
High / Low Level Languages
From High to Low Level Language
Q&A
Thankyou

Potrebbero piacerti anche