Section outline
-
-
Instructor Information
-
Additional Materials:
Join Telegram Course Group: https://t.me/joinchat/
5CIXnSCdt0xhODc9
Students Guideline for DIU BLC: http://gg.gg/moodle-student -
Assignment PC-C
-
Assignment PC-D
-
-
Lesson Plan of this Week
- Course Information
- Instructor Information
- Discussion on Course rationales, Objectives, Learning Outcomes, Syllabus, Textbooks etc.
- Basic Introduction to computers
-
Topic of Discussion
a. Introduction and motivation
b. Course outline discussion
c. Real-life application discussionExpected Learning Outcomea. Orientation and sharing learningb. Basic Introduction of Computer
Resources of Learning -
-
-
Mention at least three things that you have learnt from these lessons
-
A video on Computer Basics: Hardware
-
A Video on Computer Parts
-
- See the several videos from the Youtube on Computer Parts and Functions
- Realize the parts of computers and their function
- Now Fill the Form and answer the last part of the form
- Last date of submission is 21.09.2021 on 11:59 pm
-
-
-
Topic of Discussion
- Basic organization of Computer
- Structure of internal organization
- Computer system basic
- Registers Basics
Expected Learning Outcome
Resources- Knowing the internal structure of any computer system
- Identify the basic operations of Computer
- Identify the most commonly used registers
-
-
Week-2 Lab
a. Demo of computer mother board
b. Video tutorial about what's inside the PC
Expected Learning Outcome
a. Learning on different parts of a computer
Video on Inside ComputerVideo on Computer Motherboard
-
Week 2 Lab Exercise: Write the components as more as possible that are mentioned in this video.
-
-
-
Topics of Discussion:
♦ Number system and conversions- Application of number systems
Expected Learning Outcomes:
- Appreciate the need for number systems
- Ability to work with number system
- Ability to convert from one base to another including base 2, 4, 8, 10 and 16
Resources of Learning:
-
-
-
Week 4: Computer Arithmetic
Topics of Discussion:
- Basic Binary Arithmetic
- Multiplication and Division
- Complement Method
- Addition, Subtraction using complement
Expected Learning Outcomes:
- Knowing arithmetic operations on binary number system
- will understand the complement method
- Able to perform binary calculations using complement
Reading Materials
Overflow in 2's complement addition
−8 ≤ x[4] ≤ +7
−128 ≤ x[8] ≤ +127
−32768 ≤ x[16] ≤ +32767
−2147483648 ≤ x[32] ≤ +2147483647
What if the result overflows the representation?
If the result of an arithmetic operation is to too large (positive or negative) to fit into the resultant bit-group, then arithmetic overflow occurs. It is normally left to the programmer to decide how to deal with this situation.
Overflow Rule for addition
If 2 Two's Complement numbers are added, and they both have the same sign (both positive or both negative), then overflow occurs if and only if the result has the opposite sign. Overflow never occurs when adding operands with different signs.
i.e. Adding two positive numbers must give a positive result Adding two negative numbers must give a negative result Overflow occurs if
- (+A) + (+B) = −C
- (−A) + (−B) = +C
Example: Using 4-bit Two's Complement numbers (−8 ≤ x ≤ +7)
(−7) 1001 +(−6) 1010 ------------ (−13) 1 0011 = 3 : Overflow (largest −ve number is −8)
Overflow Rule for Subtraction
If 2 Two's Complement numbers are subtracted, and their signs are different, then overflow occurs if and only if the result has the same sign as the subtrahend.
Overflow occurs if
- (+A) − (−B) = −C
- (−A) − (+B) = +C
Example: Using 4-bit Two's Complement numbers (−8 ≤ x ≤ +7)
Subtract −6 from +7
(+7) 0111 0111 −(−6) 1010 -> Negate -> +0110 ---------- ----- 13 1101 = −8 + 5 = −3 : Overflow
-
-
-
Forum activities are very much important for students to engage them in discussion.
Every student must share his/her idea in this forum.
At least one question and one answer must be put here to prove the participation.
It is evaluated and considered for upgrading the points.
Last date of participation is October 22, 2021.
-
Week 5: Floating-point representation of numbers
Expected Learning Outcome
a. Ability to work with floating-point numbers
b. Ability to convert a floating-point number from decimal to binary and vice versa.
Resources
- Video Content
- Reading Materials
-
Week 5 (Lab)
a. Working with productivity package MS Word
b. Using Google tools for education (Google classroom, Calendar, Email, Google Air etc)Expected Learning Outcome
a. Skills on working with productivity package MS Word
Resources
-
-
-
-
Class Test-02 and 03 PC-C Assignment
Date/ Time: 16th December,10:00pm [Ensure your laptop/ phone is fully charged before attempting to the test]
Syllabus: Flowchart and Programming
Question Type: Open Book
Open Book Test Guidelines
During this open book test, you need to ensure the following items and code of conducts:
(1) No discussion in group or with your classmates as it will be reflected in your answers
(2) No sharing of codes, write-ups or ideas as this will be detected and will lead to negative marking
Total Test Time:
45 mins (40 mins for answering the questions + 5 mins for submitting/ uploading the answers to BLC in the form of pdf). Penalty will be incurred if failed to upload within the given time.During the Test Answer the following questions (any 2) Total: 15X2=30
-----------------------------------------------------------------------------------------------------------------------------------------1. Write a C program of your own and identify the 6 types of token from the program. Also write a flowchart and algorithm for the program you have written in the first part. -152. Write a C program to check whether an alphabet is a vowel or consonant.Also write a flowchart and algorithm for the program. -153.Write a C program to find the factorial of a number entered by the user.Also write a flowchart and algorithm for the program. -15 -
Class Test-02 and 03 PC-D Assignment
Date/ Time: 16th December,10:00pm [Ensure your laptop/ phone is fully charged before attempting to the test]
Syllabus: Flowchart and Programming
Question Type: Open Book
Open Book Test Guidelines
During this open book test, you need to ensure the following items and code of conducts:
(1) No discussion in group or with your classmates as it will be reflected in your answers
(2) No sharing of codes, write-ups or ideas as this will be detected and will lead to negative marking
Total Test Time:
45 mins (40 mins for answering the questions + 5 mins for submitting/ uploading the answers to BLC in the form of pdf). Penalty will be incurred if failed to upload within the given time.During the Test Answer the following questions (any 2) Total: 15X2=30
-----------------------------------------------------------------------------------------------------------------------------------------1. Write a C program of your own and identify the 6 types of token from the program. Also write a flowchart and algorithm for the program you have written in the first part. -152. Write a C program to check whether an alphabet is a vowel or consonant.Also write a flowchart and algorithm for the program. -153.Write a C program to find the factorial of a number entered by the user.Also write a flowchart and algorithm for the program. -15
-
-
-
Lesson Plan of this Session
Develop logical concept of problem solving
a. Introduction to Pseudocode
b. Introduction FlowchartExpected Learning Outcome
a. Develop logic building for problem solving
b. Ability to draw flowchart from pseudo code
c. Ability to derive pseudocode from flowchart
d. Ability to identify errors in flowchart
Resources
-
Week 8 Class Lecture Video PC-C
-
-
-
-