EC-237 Computer System & Programming: Lectures 1-3, Cheat Sheet of Computer Science

Lecture 2: Introduction to C++ Programming, Input/Output and Operators Understanding variables, memory concepts, and common data types like int, char, and double.Performing calculations using arithmetic operators and understanding the rules of operator precedence.Decision making in code using equality and relational operators.An introduction to planning programs using algorithms and pseudocode.

Typology: Cheat Sheet

2025/2026

Uploaded on 03/06/2026

unknown user
unknown user 🇵🇰

1 / 41

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EC-237 Computer System & Programming
Lecture 1
Introduction
Dr. Arslan Shaukat
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29

Partial preview of the text

Download EC-237 Computer System & Programming: Lectures 1-3 and more Cheat Sheet Computer Science in PDF only on Docsity!

EC-237 Computer System & Programming

Lecture 1

Introduction

Dr. Arslan Shaukat

Introduction

▪ Education

– BE and MS Computer Engineering

• College of EME, NUST

– PhD Computer Science (Machine Learning)

• The University of Manchester, U. K.

▪ Experience

– More than 15 years

Research Areas of Interest

▪ AI and Machine Learning

– Feature Extraction and Selection

– Segmentation, Classification,

Prediction

– Deep Learning

– Natural Language Processing

▪ Biomedical Imaging and

Speech Processing

▪ Facial and Speech Emotion

Recognition

20/01/2026 EC-237 CS&P Dr Arslan Shaukat EME (NUST) From: https://www.uab.cat/web/newsroom/news-detail/i-ll-like-you-more-if-i-can-guess-your-facial-expression-- 1345668003610.html?noticiaid= 4

Research Projects

▪ Automated Approach for Patient Experience Management System

▪ Assessment of Academic Maturity among Students from Purpose

Statements

▪ Diagnosis and Prognosis of COVID-19 Using Volumetric Three-

Dimensional Computed Tomography Images

▪ Citizen Complaints Classification using NLP and Deep Learning

▪ Blind Image Deblurring using Generative Adversarial Network

▪ Automatic Classification of White Blood Cell Images using CNN

▪ Emotion Recognition from Facial Images using Hybrid Deep Learning

▪ Automatic Prostate Cancer Grading Using Deep Architectures

▪ Intelligent Human Speech Impersonation Detection for Remote

Authentication

▪ Detection and Localization of Pneumothorax from Imbalanced X-ray

Images Dataset Based on Deep Learning Methods

Introduction – (Yours)

▪ Name

▪ Previous institution/City

▪ Area/Subject of interest

▪ Where you see yourself in

future

From: https://www.vectorstock.com/royalty-free-vector/business- dreams-future-planning-vector- 1739559

Course Information

▪ Course Title: Computer System & Programming

▪ Course Code: EC- 237

▪ Credit Hours: 2 - 1

▪ Semester: Spring 2026

▪ Email: [email protected]

▪ Class: Mon

Course Contents

▪ Introduction to computers, central processing unit organization,

main memory organization, secondary storage organization,

input/output devices interaction/organization

▪ What is Programming? Algorithms, computer languages,

Compiler, Assembler and Interpreter, Data and results.

▪ Data, Data types, data representation, identifiers, reserved words,

variables, constants.

▪ Inputs and outputs, Standards Library, address operator, string I/O,

character I/O.

▪ Escape sequences, format specifiers, assignment statement,

Compound operators, Instruction Sequence, Sequential structures,

ASCII.

Course Contents

▪ Arithmetic operators, operator precedence, Selection, Relational

and logical operators.

▪ If/else. Nested if’s conditional operator, conditional expressions,

switch statements.

▪ Repetition, While, do/while, for(;;), break and continue statements.

▪ Functions, Programmer defined functions, library functions,

storage classes, scope, parameter passing.

▪ Arrays, input and output of data, searching.

▪ Array of characters, array as parameters.

▪ Pointers, address and indirection operators, pointer arithmetic,

pointers and arrays, call by value and call by reference.

▪ Structures

▪ File Handling

Policies

▪ No extensions in assignment deadlines.

▪ Quizzes will be unannounced.

▪ Never cheat.

– “Better fail NOW or else will fail somewhere LATER in life”

▪ Plagiarism will also have strict penalties.

Adapted from What is Plagiarism PowerPoint http://mciu.org/~spjvweb/plagiarism.ppt

Course Learning Outcomes

Course Learning Outcomes (CLOs) Level of Learning PLO

1. Understand and explain the foundational

concepts and principles of computer systems and

their components.

C 2

2. Apply the problem-solving techniques to design

solutions for computational tasks. C

3. Analyze and implement programming constructs

to address and solve complex problems using

C++.

C

4. Demonstrate the ability to design, test, and

debug structured and modular programs.

P 3

Why Programs?

Computers can do many different jobs because they are

programmable

– Documentation (Word, Excel, Pdf, ppt)

– Navigation (Maps)

– Entertainment (iPods, Social Media, Movie player)

Computer Systems

▪ Hardware

▪ Software

Software

Programs are commonly referred to as software. Software is

essential to a computer because without software, a

computer can do nothing.

▪ System Software (Operating Systems, Utility Programs,

Software development tools)

▪ Application Software (MS office, Games, Media Players)

What is Computer Programming

▪ Computer programming is the process of designing and

building an executable computer program for

accomplishing a specific computing task.

▪ Computer programming is both an art and a science.