CSE-113: Structured Programming Language .

Uploaded on:
CSE-113: Structured Programming Language. CSE-114: Structured Programming Language Lab. Lecture 1 Introductory Class. CSE-113. Course Code: CSE-113 Course Title: Structured Programming Language Course Teacher: Md. Samsuzzaman Lecturer ,Dept. of CCE Credit: 3 Lecture: 32. About Class.
Slide 1

CSE-113: Structured Programming Language CSE-114: Structured Programming Language Lab Lecture 1 Introductory Class Md.Samsuzzaman Lecture-1

Slide 2

CSE-113 Course Code: CSE-113 Course Title: Structured Programming Language Course Teacher: Md. Samsuzzaman Lecturer ,Dept. of CCE Credit: 3 Lecture: 32 Md.Samsuzzaman Lecture-1

Slide 3

About Class Theory Class (CSE - 113) Two classes for every week: Monday : 9:00 a.m– 10:00 am Tuesday :12.00 pm-1.00 pm Wednesday : 11:00 a.m– 12:00 pm Lab Class: (CSE – 114) Two lab class for every week for every understudy Even Group: Monday: 2:15 pm – 5:00 pm Odd Group: Thursday: 2:15 pm – 5:00 pm Md.Samsuzzaman Lecture-1

Slide 4

Introduce Yourself Your name, College name? Why do you ponder CSE? Why do you think about Computer Science and Engineering? Do you have your very own PC? Any past experience on programming? Md.Samsuzzaman Lecture-1

Slide 5

Syllabus Programming ideas; Structured programming dialect: information sorts, factors, administrators, kind of expressions, control structures; Functions and program structures: work fundamentals, parameter passing traditions, scope principles and capacity classes, recursion; Header documents; Preprocessor; Arrays, String and Pointers; User characterized information sort: structures, unions, list; Input and yield: standard information and yield, organized info and yield, record get to; Dynamic memory distribution, Variable length contention list; Command line parameters; Error taking care of; Introduction to Graphics schedules. Md.Samsuzzaman Lecture-1

Slide 6

Gist of Syllabus (1) Part 1: Introduction of Computer Programming, Programming style, program outline. Section 2: Programming Language in C: programming record structure: reason for .h and .c documents, consistent, variable and information sorts, administrator and expression, sort transformation, basic leadership, stretching and circling, exhibits and strings, client characterized capacities, structures and union, piece field and bit-wise operations, pointer, document administration in C, charge line contentions, dynamic memory portion and connected rundown, preprocessor, low level programming, overseeing input/yield operation. Md.Samsuzzaman Lecture-1

Slide 7

Reference Book Text: Programming in ANSI C – Balagurusamy C – How to Program (4 th Edition) – Deitel & Deitel C for challenge—Other Reference Book: Schaum\'s Outlines: Programming with C (2 nd Edition) – Byron Gottfried Teach Yourself C (3 rd Edition) – Herbert Schildt Md.Samsuzzaman Lecture-1

Slide 8

Course Website www.cse.pstu.ac.bd/~cse113/Will be overhauled soon. You will discover course address Syllabus midterm exam news Results assignments Others… Md.Samsuzzaman Lecture-1

Slide 9

Software required for this course Windows Environment (any one): Microsoft Visual C++ 6 Dev-Cpp Turbo C++ 3 (We ought to stay away from this) Md.Samsuzzaman Lecture-1

Slide 10

About the Course Hardware versus Programming System Software versus Application Software Operating System What is dialect? Programming dialect? Punctuation versus Semantics? What would it be advisable for us to expect after finish this course? Md.Samsuzzaman Lecture-1

Slide 11

Learning Style This course is viable arranged. We will give loads of assignments. (since practice makes a man consummate  ) Memorization won\'t help you to get a decent result. Duplicating Code: Strictly precluded. Will be seriously rebuffed on the off chance that you are gotten. Md.Samsuzzaman Lecture-1

Slide 12

Description of C 12 General-reason dialect Procedural (= capacities + information) Mid-level Relatively little, easy to learn Cross-stage dialect, single-stage compilers (not at all like Java) Char-based Md.Samsuzzaman Lecture-1

Slide 13

History Of C Modern dialect ALGOL 1960s BCPL - 1967, System programming B - 1970, make UNIX OS, Bell Laboratories B and BCPL sort less C originating from ALGOL, BCPL and B by Dennis Ritchie Further UNIX was produced by C Md.Samsuzzaman Lecture-1

Slide 14

Why C? 14 Prior to C, two wide sorts of dialects: Applications dialects High-level COBOL, and so forth. Versatile however wasteful Systems dialects Low-level Assembly Efficient yet not compact Goal of C: productive and convenient Md.Samsuzzaman Lecture-1

Slide 15

Why not Java, C++, and so forth? 15 Java is protected and exquisite, yet moderate C++ is dangerous and quick, yet very mind boggling C is perilous, however concise and quick C/C++ is still utilized for: Systems programming Windows, Unix, and so forth. High-perf back-end servers Md.Samsuzzaman Lecture-1

Slide 16

A Simple C Code #include <stdio.h> int primary() { printf("Welcome to CSE113\n"); return 0; } Md.Samsuzzaman Lecture-1

Slide 17

How to Run Save a source code with expansion "c" or "cpp". (Ex: first.c ) Compile it and connection it Output: first.exe Run the program. Yield of the program: Welcome to CSE102 Md.Samsuzzaman Lecture-1

Slide 18

Typing Speed (Not identified with this course yet Important ) Important for each understudy in CSE Try to sort in syntactic way – Use 10 fingers to sort Use programming to learn linguistic method for writing Speed: Should be no less than 30 WPM (Words every moment) Preferable 35+ WPM. Rewards..  Software Ten Thumbs Typing Software Or, whatever other Typing mentor programming Md.Samsuzzaman Lecture-1

Slide 19

Puzzle Time Md.Samsuzzaman Lecture-1

Slide 20

Puzzle 1: Handshake It is your first day at CSEPSTU. The instructor (SMZ) proposed that it would be a smart thought for every understudy to meet each other understudy in the class. The educator said, "When you meet, please shake hands and present yourself by name." If there were 14 understudy in the class, what number of aggregate handshakes were there? Reply: ?? Md.Samsuzzaman Lecture-1

Slide 21

Puzzle 3 - Eggs Eight eggs appear to be indistinguishable aside from one is lighter. By what means would you be able to weigh just 2 times on an adjust scale to discover which one is lighter? Md.Samsuzzaman Lecture-1

View more...