Information
Course Code: SECJ1013
Section: 05
Lecture: Mr Cik Suhaimi Yusof
Group Member: Omar Alaaeldin Hassan Khater
Course Files
-
Download 01- Programming Problem-Solving (Stud) v2.pdf
01- Programming Problem-Solving (Stud) v2.pdf Details
- Sunday, 22 December 2019 [1.8MB] -
Download 02-Elementary Programming v2.pdf
02-Elementary Programming v2.pdf Details
- Sunday, 22 December 2019 [1.1MB] -
Download 03 - Control Structures (Stud) v1.pdf
03 - Control Structures (Stud) v1.pdf Details
- Sunday, 22 December 2019 [1.1MB] -
Download 03 - Control Structures (Stud) v2.pdf
03 - Control Structures (Stud) v2.pdf Details
- Sunday, 22 December 2019 [840.3KB] -
Download 04 - Functions.pdf
04 - Functions.pdf Details
- Sunday, 22 December 2019 [4.5MB] -
Download 05 - Array.pdf
05 - Array.pdf Details
- Sunday, 22 December 2019 [1.4MB] -
Download 06 - Input and Output (Stud).pdf
06 - Input and Output (Stud).pdf Details
- Sunday, 22 December 2019 [1.5MB] -
Download 07 - Pointers-Update.pdf
07 - Pointers-Update.pdf Details
- Sunday, 22 December 2019 [5.2MB] -
Download 08 - Structured Data.pdf
08 - Structured Data.pdf Details
- Sunday, 22 December 2019 [5.2MB]
Learn About C++
Learn about C++
At the beginning of the new semester, I had no idea on C++.Though I have heard about C++, to be honest, I even did not imagine what kind of subject it is. I was so afraid if I could adapt to it or learn it. Therefore before C++ class, I searched a lot of information, like what C++ is and what C++ use for. I know it from internet that C++ is a general-purpose object-oriented programming(OOP) language, develop by Bjarne Stroustrup, and is an extension of the C language. It is therefore possible to code C++ in a “C style” or “object-oriented style”.
Anyway I went to take first class with nervousness, but this class did not directly enter C++ but talked about flowchart. The main purpose is that use design tools such as a hierarchy chart, flowchart, or pseudo code to create a model of the program. there are three types of program: statement, selection, loop.
1. Statement
Flowchart
Pseudo code
2. Selection
3. Loop
Finished this chapter, we started studying C++,at the beginning lecture told us what C++ is, and also told us C++ is important programming language because in C++ we can write programs that are very efficient in memory usage and in CPU usage, this programming language is very close to the hardware. So for lecture 2 was all about basic grammar, such as C++ is very sensitive. and what variable and value important is
cannot run with Struct, should struct
For Control Structure-- IF and LOOP is very important, my friend who is programmer told me, these two structures are useful, after you find all of about IF, LOOP because it can use less code. no matter which programming language.
If structure in C++ Loop with If in C++
For Function is a collection of statements to perform a task, in order to breaking a program up into smaller, manageable functions or modules, it is be easy to change.
Function prototype/calling function passing data by reference
Array is variable that can store a collection of data of the same type such as a list of ID number. When we meet very huge same type of data, to use array is easy to name all and process all data.
Input And Output: Output formatting can control how outplays for numeric and string data: size, position, number of digits. Input formatting can format field width for use with cin, useful when reading string data to be stored in a character array.
Output Input
Pointers also called pointer variable, it's a variable that holds an address, Because a pointer variable holds the address of another piece of data, it "points" to the data Pointer variables are yet another way using a memory address to work with a piece of data. This means we are responsible for finding the address we want to store in the pointer and correctly using it.
Structure: the most important point is in C++ construct that allows multiple variables to be grouped together.
C++ is very complex and difficult for me, there are so many lots of knowledge in C++, these almost can't learn all in one day, but I will never stop learning.