Overview
Related Links
Ref Books
Downloads

Course Contents

Course Title: COMPUTATIONAL PHYSICS Course Code: Min/Phy-102 Credit Hours: 4(3+1) Semester: II Paper: II COURSE OUTLINES Mid Term Introduction to Computers: A brief introduction to bit, bytes and computer words, introduction of different parts of digital computer (control units, main memory, ALU) Approach towards problem soving, Flow charting and Algorithm writing, Difference between high level languages & low level languages. Introduction to C++ Programming: Introduction to C++ Programming, Structured programming, basics of typical C++ environment, simple data types in C++ , identifiers and operators, headers files, writing simple program using cin, and cout. Memory Concepts. Final Term Control Structures: Sequence structure, selection control structures (if, if-else, switch), Repetition control structures (while, do-while, for). Nesting and stacking of control structures. Functions: Introduction to math library functions, Programming examples of using math library functions, user defined functions, Function definition and function prototype, Function scope rules. COMPUTATIONAL PHYSICS (LAB.) Mid-Term Writing simple program using, cin, and cout. Memory concepts. Final Term Writing program by using control structures: Sequence structure, Selection control structures (if, if-elese, switch) Repetition control structures (while, do-while, for). Nesting and stacking of control structures. Writing program by using functions: Introduction to math library functions. Programming examples of using math library functions. User defined functios. Function definition and function prototype. Function scope rules. __________________________________________________________________________ Recommended Books: 1. Peter Norton’s Introduction to Computers, McGraw Hill Book Company. 2. Dietel and Dietel, C++ How to Program, Prentice Hall New Jersey. 3. C++ introduction (Aikman series) by CM Aslam


Course Learning Outcomes

Understanding of problem solutions of physics using c++ language


Control Structures

View Now


YouTube channel

View Now


Introduction To Computers 6th edition By Peter Norton

View Now


Introduction to Computers

View Now


Introduction to C++ Programming

View Now


Write a program in C++ to convert your age in months, days , hours, minutes and seconds

View Now


Write a program in C++ to input an amount in dollar

View Now


Write a program in C++ to input your name, address and age

View Now


Write a program in C++ to calculate radius of circle

View Now


Operators and its types

View Now


quadratic equation program of conditional statements

View Now


conditional statements programs part 1

View Now


conditional statements programs part 2

View Now


conditional statements programs part 3

View Now


conditional statements programs part 4

View Now


Loops (while, do-while and for loops)

View Now


Functions(math.h and user defined functions)

View Now


C++ program example of loops

View Now






Book Title : Introduction To Computers
Author : Peter Norton
Edition : 6th edition
Publisher : The McGraw Hill companies
View Now


Book Title : How to program C++
Author : Deitel and Deitel
Edition : second edition
Publisher : Deitel and Deitel
View Now


Book Title : Programing with C++ (Aikman series) by CM Aslam
Author : CM Aslam
Edition : first edition
Publisher : Aikman series
View Now






Title : Chapter No 1 Introduction to Computers
Type : Presentation

View Chapter No 1 Introduction to Computers


Title : Chapter No 2: Introduction to C++ Programming
Type : Presentation

View Chapter No 2: Introduction to C++ Programming