0% found this document useful (0 votes)
122 views9 pages

CSCP1013 Introduction To Computing Theory

This document provides information about an Introduction to Computing course offered at the University of Central Punjab. The course is a 4 credit hour course that introduces students to computer systems and programming. It focuses on developing problem-solving skills and teaching students to formulate algorithms and write programs in C++. Topics covered include an introduction to computers, variables, selection statements, and nested selection. Assessment is based on class participation, quizzes, assignments, midterm tests, and a final exam. The course aims to help students understand fundamental programming concepts and solve basic problems using C++.

Uploaded by

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

CSCP1013 Introduction To Computing Theory

This document provides information about an Introduction to Computing course offered at the University of Central Punjab. The course is a 4 credit hour course that introduces students to computer systems and programming. It focuses on developing problem-solving skills and teaching students to formulate algorithms and write programs in C++. Topics covered include an introduction to computers, variables, selection statements, and nested selection. Assessment is based on class participation, quizzes, assignments, midterm tests, and a final exam. The course aims to help students understand fundamental programming concepts and solve basic problems using C++.

Uploaded by

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

University of Central Punjab

Faculty of Information Technology

BS-CS
PROGRAM (S) TO BE
EVALUATED
A. Course Description
Course Code CSCP1013
Course Title Introduction to Computing (Theory)
Credit Hours 4(3+1)
Prerequisites N/A
Assessment Instruments with Theory
Weights (homework, quizzes,  Class Participation 05%
midterms, final, programming  Quizzes 15%
assignments, lab work, etc.)  Assignments 20%
 Midterm Tests 20%
 Final 40%
Course Instructor Ammar Haider
Course Coordinator Imran Arshad
Office Hours Monday (11:00 AM - 12:20 PM), Wednesday (11:00 AM - 12:20 PM) &
Friday (11:00 AM - 2:00 PM)
Plagiarism Policy All the parties involved in first cheating case will be awarded Zero for that
evaluation. Afterwards, all students involved in the second instance will be
awarded ZERO in the entire evaluation category.
Marks shall be up-loaded on portal and can be contested within a week or
would be considered final.
Course Tools Microsoft Visual Studio
Course Description This first course in Computer Science does not assume any previous
computer knowledge. It is designed to give an overview to computer
systems, desktop publishing tools and structured programming.
Its primary focus is on developing a problem-solving approach in the
students and concentrates on formulation of algorithms and translating them
into structured C++ programs.

Course Objectives Students should achieve the following basic objectives:


 Should be able to have the know-how of computer system.
 Should be able to convert simple problems into algorithms
 Should be able to convert an algorithm into a C++ program
 Should be able to program in C++ to solve simple problems
Textbook D.S. Malik.C++ Programming: From Problem Analysis to Program Design,
Cengage Learning; 8th edition
Reference Material C++ How to Program by Deitel and Deitel, 11th Edition, Prentice Hall
Publications, 2007.

Topics Covered in the Course, with Attached


Number of Lectures on Each Topic
(assume 15-week instruction and one-

1 NCEAC.FORM.001.C
hour lectures)

Programming Assignments Done in Yes (C++ Programs)


the Course
Class Time Spent on (in credit hours) Theory Problem Solution Social and Ethical Issues
Analysis Design
1 0.5 1 0.5
Oral and Written Communications Yes

CLO CLO STATEMENT Bloom’s Taxonomy PLO


Level
Understand fundamental problem-solving steps and logic constructs of a
1 programming language. C2 1

Solve basic problems using fundamental concepts of programming


2 language. C3 2

3 Design and implement algorithms to solve real world problems. C3 2

2 NCEAC.FORM.001.C
Book
Evaluation Relation
Lecture Topics Referenc
Used to CLO
e
Introduction of Computer Science

 Introduction: Objectives of the course


 Brief description of major
sub-fields/subjects of Computer Science
with reference to their usage in common
life.

Introduction to Computers

 What is a Computer?
 Applications of Computer

 Types of computer

 RAM
1st CH#1 CLO_1
 Input/Output Devices

 Storage

 CPU

 Introduction to Problem solving

 Algorithms Problem solving

 Flow Charts and Pseudo-codes

 Sequential – Problem Solving using


Flowcharts and Pseudo-codes (e.g., how
to make a tea, adding two numbers,
conversion of length from feet to inch,
convert temperature)

3 NCEAC.FORM.001.C
Hello World Program in C++

 Processing a C++ program/Execution


Flow
 Syntax of C++ (cout << “literal string \
n”)

 Syntax of C++ (cout << Numeric


Constant/Expression )

 Comments/ Importance of Comments

 Syntax Errors

 Syntax vs. Semantics

Arithmetic expression
CH#2 CLO_1,
2nd
 Output Numbers (Literal Constants) CLO_2
(cout << 2 << endl;)
 Arithmetic Operators (+, -, *, /, %)

 Defining Expression/Arithmetic
Expression

 Operator Precedence & Associativity

 Arithmetic Expression evaluation

 Output value of an Arithmetic


Expression (cout << 2*3 << endl;)

Problem Solving using Arithmetic Expression


(literal constants)

4 NCEAC.FORM.001.C
Variable

 Concept/Purpose of variable
 Concept of Type

 Declaration of variable/Syntax,
Semantics

 The rule for a valid identifier

 Initialization of variables

 Accessing values of a variable

 Assignment statement, Syntax/Semantics

 Arithmetic Expression involving


variables and/or literal constants CLO_1,
3rd
CH#2 Assignment 1
CLO_2
 Problem-solving using literal
constants, variables

Interactive Program (Taking Input from


Console)

 How to take input from the user.


 Syntax/Semantics of cin (Formatted
Input)

 Concept of white space (space, tab,


newline) and default working of cin

 Problem Solving using cin, variables,


strings
4th Selection Statement CH#4 Quiz 1
CLO_1,
 Need/Purpose of Selection CLO_2
 Selection: if and if...else

 One-Way Selection

 Compound (Block of) Statements

 Comparing if...else Statements with a


Series of if Statements; Short-Circuit
Evaluation

 Solution/Algorithm development
(Pseudo-Code and Flow-Chart)

 Comparing Floating-Point Numbers for


Equality

 Associativity of Relational Operators

 Input Failure and the if Statement

 Confusion between the Equality Operator

5 NCEAC.FORM.001.C
(==) and the Assignment Operator (=)

 switch Structures (Pseudo-Code and


Flow-Chart)
Nested Selection

 Multiple Selections: Nested if


 Need for multi-way selection

 Compound Expression and nested if

 Compound Selection (e.g., Number is


negative, positive or equal to zero;
assigning grades to a student)

 Multiple Selections (e.g., check CH#4 CLO_1,


5th whether a student has passed or failed & CLO_2
and then assign grades to a student) CH#2

Operators

 Pre/Post-Increment
 Pre/Post-Decrement

 Order of Precedence

 Ascii values

 Type Conversion (Casting)


Loop Statement

 Why Is Repetition Needed?


 while Looping (Repetition) Structure

 Designing while Loops

 Case 1: Counter-Controlled while Loops

 Case 2: Sentinel-Controlled while Loops CLO_1,


CH#5 Assignment 2
6th CLO_2
 Solution/Algorithm development
(Pseudo-Code and Flow-Chart)

 Case 3: Flag-Controlled while Loops

 More on Expressions in while Statements

 for Looping (Repetition) Structure

 do...while Looping (Repetition) Structure


7th  Choosing the Right Looping Structure CH#5 Quiz 2 CLO_2,
CLO_3
 break and continue Statements

 Solution/Algorithm development
(Pseudo-Code and Flow-Chart and Dry-
Run the loop).

6 NCEAC.FORM.001.C
 Problem Solving Using Loops

8th Revision Week

CLO_1,
CLO_2,
MID Term CLO_3
MID Term Review

Nested Loop

 Need/Purpose of Nested Loop


 Both while (…) and for (…) syntax

 Algorithm development involving Nested


for loop
CLO_1,
9th  Dry-run technique for nested-loop. CH#5 CLO_2
CLO_3
Nested Loop (shapes printing)

 Setting up Problem for nested loop


 Problem Solving involving nested-loop

 Dry-Run the nested-loop


1D Arrays

 Need for handling large data of the same


type.
 Declaration/initialization of arrays

 Explaining the array type and operations


allowed on array types.

 Accessing individual elements of arrays


CLO_1,
CH#8
10th
 Problem Solving involving arrays Assignment 3 CLO_2

 Partial Initialization of Arrays During


Declaration

 Traversing an array (in both directions)

 Array Index Out of Bounds

 Dry-Run the program.

7 NCEAC.FORM.001.C
1D Array and condition statement

 Setting up Problem for if statement over


an array
 Problem Solving involving arrays and if
statement

 Dry-Run the program.


CH#8 CLO_2,
11th & Quiz 3 CLO_3
1D Arrays, selection and repetition (Search) CH#18

 Linear search
 Binary search
 Setting up a Problem for searching

 Dry-Run the program.

1D Array and Nested loop (Bubble sort)

 Setting up a Problem for sorting


 Dry-Run the nested-loop

1D Array and Nested loop


CH#8
CLO_2,
12th  Setting up Problem for nested loop over &
CLO_3
an array CH#18
 Problem Solving involving arrays and
nested-loop

 Dry-Run the program.

13th 1D Array and Nested loop CH#8 Assignment 4 CLO_3,


CLO_1,
 Setting up Problem for nested loop over CLO_2
an array
 Problem Solving involving nested-loop
with/without arrays

 Dry-Run the nested-loop

Character Array (C-String) and Loops

 The need for handling non-numeric data


 Character Type and its conversion to
integer

 A character I/O

 Problem-solving involving characters,


Selection, and Loops (single and nested-
loops)

8 NCEAC.FORM.001.C
1D Character Arrays (C-String)

 The need for handling names


 Initializing Character Arrays (two
methods)

 Emphasizing null-terminator and it's an


implication

 Problem-solving involving characters


and loops (single and nested-loops) CLO_2,
14th CH#8 Quiz 4 CLO_3
 Dry-Run the program.

1D Array Problem Solving

 Array-based Problem involving


Selection, Loops/Nested Loops and
involving both numeric and non-numeric
data
 Dry-Run the program.

1D Array Problem Solving

 Array-based Problem involving


Selection, Loops/Nested Loops involving
both numeric and non-numeric data
 Dry-Run the program.

1D Array Problem Solving


15th CLO_3

 Array-based Problem involving


Selection, Loops/Nested Loops and
involving both numeric and non-numeric
data
 Dry-Run the program.

 Revision CLO_2,
16th
CLO_3

9 NCEAC.FORM.001.C

You might also like