You are on page 1of 2

Total Marks: 05

Announcement Date: 08 April, 2023


SINDH MADRESSATUL ISLAM UNIVERSITY
Submission Date: 15 April, 2023 Department of Software Engineering (SPRING-2023)
ASSIGNMENT # 01

PROGRAMMING FUNDAMENTALS

Q.1 Briefly covered all given topics in terms of bullets and implement
all given scenario using C++ high level language in IDE with every
single line comment and every program need pseudo code, and flow
chart:

a) Difference between program and programming.


b) Difference between source code and object code.
c) Difference between High level language and low level language.
d) Types of Error.
e) Data Types.
f) Input and Output Stream.
g) Manipulators.
h) Control Structures.
a. If Else statement.
b. Nested If statement.
c. Switch statement.
i) Loops.
a. While.
b. Do While.
c. For.
j) Arrays.
a. Single Dimension Array.
b. Multiple Dimension Array.

Page 1 of 2
Total Marks: 05
Announcement Date: 08 April, 2023
SINDH MADRESSATUL ISLAM UNIVERSITY
Submission Date: 15 April, 2023 Department of Software Engineering (SPRING-2023)
ASSIGNMENT # 01

SCENARIOS

1. Display the following pattern using only ONE cout statement.

2. Write a C++program by using Variables and appropriate data types that displays the
results of the expressions
a. 3.0*5.0
b. 7.1*8.3-2.2
c. 3.2/ (6.1*5)

3. Write two C++programs using if and switch statements, to finding vowels.

4. Write a C++program using nested if condition which take three numbers from user and
display on console large and small number.

5. Write three C++program using While, Do While, and for loop which take table and table
length from user and display on console table according to input.

6. Write any two program one for Single Dimension array and second for Two Dimension
Array.

Page 2 of 2

You might also like