LAB 01 Basic Programming Recap 1 PDF

Title LAB 01 Basic Programming Recap 1
Author Hassan Iftikhar
Course Transportation engineering
Institution Pakistan Naval Academy
Pages 5
File Size 201.5 KB
File Type PDF
Total Downloads 33
Total Views 140

Summary

hhjj...


Description

Namal Institute Mianwali

Data Structures & Algorithms Lab Manual #1

Basic Programming Recap-1

Course Title

Data Structures & Algorithms

Course Number

EE-232L

Instructor

Dr. Malik Jahan [email protected]

Lab Engineer

Mr. Muhammad Jaleel [email protected]

Manual Revision History Version

Amendments

Date

Revised by / Counter Checked by

v0.1

First Draft Released

22 Jan 2020

Mr. Jaleel / Dr. Malik Jahan

v0.2

Second Draft Released

23 Jan 2020

Mr. Jaleel / Dr. Malik Jahan

1. Objectives The lab is designed to revise/practice basic programming concepts like data types, control statements, functions, and recursion.

2. CLO’s Linked •

Demonstrate the usage of fundamental data structures using a programming language (CLO-1)

3. Basic syntax Syntax

Description

Example

if(conditon){ //if body

If the provided condition is true, statements in the body section will be executed other wise not. The condition must result either in True or False result.

int x=10; If(x%2==0){

If the provided condition is true, statements in the body section will be executed otherwise else body will start executing.

int x=10;

}

if(condition){ //if body

} else{ //else body

cout...


Similar Free PDFs