0% found this document useful (0 votes)
33 views15 pages

LEC-QB-1 Course Introduction

This document provides an overview of a computer programming course, including: - An introduction to programming concepts like DOS, Windows, flow charts, and BASIC and object-oriented languages. - A listing of theory and lab course contents covering topics such as variables, control statements, arrays, and applying programming to civil engineering problems. - Details on learning outcomes, lecture plans, assignments, textbooks, and grading policies. - Comments from students and teachers and suggestions for continuous quality improvement.

Uploaded by

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

LEC-QB-1 Course Introduction

This document provides an overview of a computer programming course, including: - An introduction to programming concepts like DOS, Windows, flow charts, and BASIC and object-oriented languages. - A listing of theory and lab course contents covering topics such as variables, control statements, arrays, and applying programming to civil engineering problems. - Details on learning outcomes, lecture plans, assignments, textbooks, and grading policies. - Comments from students and teachers and suggestions for continuous quality improvement.

Uploaded by

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

COMPUTER PROGRAMMING

COURSE INTRODUCTION

DR. USMAN AKMAL


Dr. ALI AHMAD

DEPARTMENT OF CIVIL ENGINEERING


UNIVERSITY OF ENGINEERING AND TECHNOLOGY,
LAHORE
2. Course Contents (Theory)
Introduction to personal computer setup: Introduction
to DOS and Windows operating system. Basics of computer
programming. Program structure and flow charts.

BASIC Language: Arithmetic operators and functions,


Input / output statements, decision making statements and
loops. Functions and subroutines. Data and data files.

Introduction to Object Oriented Programming: Visual


Basic programming, programming using
MATLAB/Mathematica.
Application of programming languages for solution of simple
and elementary Civil Engineering problems.

2
2. Course Contents (Lab)
• Arithmetic operators
• Revision of GUI of QBASIC
• Relational operators
• Practice of variables, data types, INPUT, DIM and PRINT
• Binary number system
• Practice of LOCATE, COLOR, SCREEN and PRINT with TAB
• Practice of control statements and Loops
• Real numbers
• Practice of Arrays in QBASIC
• Practice of Working with files in QBASIC
• Practice of flow charts and graphics in QBASIC

3
2. Course Contents (Lab) contd …
• Practice of introduction to object oriented programming
• GUI of Visual Basic
• Dot notation in visual Basic
• Practice of command button, Label, Text Box, Forms
• Practice of scope of variables, Frames, option buttons,
check boxes
• Practice of graphics in VB
• Practice of working with files in VB
• Introduction to MS Word
• Introduction to MS Excel and MS Power Point

4
3 & 4. CLO & CLO-PLO Mapping

CLOs Description PLOs Domain Domain Level

To explain the basics of computer hardware


CLO1 PLO1 Cognitive 2. Understand
and software

To define Variables, arrays, loops, data files


and graphics PLO1 Cognitive 1. Remember
CLO2

To illustrate algorithm of program


CLO3 PLO3 Cognitive 3. Apply

To prepare programs for basic civil


CLO4 engineering problems PLO3 Cognitive 3. Apply

5
5. Lecture Delivery Plan & Quiz Schedule
Week Theory Lab
Introduction to computers and Graphical user interface of Binary number system
1 Quick BASIC. Variables, data types, INPUT, DIM and PRINT (Dr. Ali Ahmed)
statements. (Dr. Usman Akmal)
Introduction to OOP and GUI of VB Operators. Variables, data types, INPUT, DIM and PRINT
2 Form, Command Button, Label and Text Boxes statements.
(Dr. Ali Ahmed) (Dr. Usman Akmal)
Control statements Practice of Form, Command Button, Label and Text Boxes
3 (Dr. Usman Akmal) (Dr. Ali Ahmed)

Check box, option button and frames (LAB QUIZ-I)


4 (Dr. Ali Ahmed) Practice Control statements
(Dr. Usman Akmal)
Locate, Color, and Print statement with TAB () and SPC () Practice of Check box, option button and frames
5 functions. (Dr. Ali Ahmed)
(Dr. Usman Akmal)
Scroll Bars Loops, GOTO statement
6 (Dr. Ali Ahmed) (Dr. Usman Akmal)

Loops, GOTO statement Graphics in VB


7 (Dr. Usman Akmal) (Dr. Ali Ahmed)

Graphics in VB (contd.) (LAB QUIZ-II)


8 (Dr. Ali Ahmed) Practice of Loops, GOTO statement
(Dr. Usman Akmal)

9 Mid Term Examination

6
5. Lecture Delivery Plan & Quiz Schedule (contd …)

Week Theory Lab


Arrays (Semester Project)
10 (Dr. Usman Akmal) Program to calculate centroid and Moment of Inertia
in VB (Dr. Ali Ahmed)
Program to SFD and BMD in VB Arrays
11 (Dr. Ali Ahmed) (Dr. Usman Akmal)

Graphics in QBASIC (LAB QUIZ-III)


12 (Dr. Usman Akmal) Working With files in VB
(Dr. Ali Ahmed)
MS Word Graphics in QBASIC
13 (Dr. Ali Ahmed) (Dr. Usman Akmal)

Working With files in QB and Print Using Statement MS Power Point


14 (Dr. Usman Akmal) (Dr. Ali Ahmed)

MS Excel (LAB QUIZ-IV)


15 (Dr. Ali Ahmed) Programming Civil Engineering Problems
(Dr. Usman Akmal)

16, 17 End Term Examination

7
7. Complex Engineering Problem

1. Write a program to calculate the centroid and moment of


inertia of different structural shapes.

2. Write a program to find multiplication of two matrices.

3. Write a program to find reduced levels by height of


instrument method.

4. Write a program to draw SFD and BMD for a beam


subjected to point load.

8
8. Open Ended Lab / PBL

Write a program to find inverse of a matrix.

9
9. Software Application

1. QBASIC

2. Visual Basic

3. MS Word

4. MS Excel

5. MS Power Point
10
Textbooks & Reference Books

▪ QBasic with Examples by Gregg Perry

▪ Evangelos Petroutsos, Mastering Visual Basic 6, Sybex


Computer Books, Inc. USA, (Latest Edition)

▪ Gottfried, B.S. Programming with Structured Basics


(Schaum Series), McGraw Hill. (Latest Edition)

11
Grading Policy

Marks
Sr. No. Description
percentage

1 Quizzes 20%

2 Mid term 30%

Final
3 40%

Class participation /
4 10%
Assignments

12
10. Comments on the course by the Students

13
11. Comments of the Teachers

14
12. Suggestions to close CQI Loop

15

You might also like