Posts

Showing posts from February, 2022

Lab Task 1 - BIC10503

Image
Computer Hardware Specifications A. Suggest an appropriate computer for each of the following scenarios. You should attach the technical specifications of the computer. i) Person A works mostly on image editing. He requires the latest Adobe Photoshop software as well as large storage to store a huge collection of digital images.  = Asus ROG Zephyrus GX550LWS-HF130TS ii) Person B is a student and is looking for a low-cost computer below RM1500. He just needs the computer for surfing the Internet and doing his assignments by using a free office suite such as Apache Open Office.  = Asus Laptop 15 A516 iii) Person C wants a small, portable computer to read e-books while on the go. = Dell Latitude E7270 Touchscreen Ultrabook B. Fill in the specification of each of the computer components in the following table. C. Justify your answers for Question A . i) Asus ROG Zephyrus GX550LWS-HF130TS is very suitable with scenario #1 due to being ideal for editing because it is one of the grea...

Lab Task 2 - BIC10503

Image
 Installing Computer Components Each group needs to search for the latest product of the following computer components: i. One motherboard ii. One graphic card iii. One sound card iv. One Random Access Memory (RAM) stick v. One bus vi. One hard disk Identify each computer component. Link for slide presentation:  Slide presentation for LAB 2                                                                                                                              Written by Arif (AI210125) 😎

Lab Task 3 - BIC10503

Image
Motherboard Identify the motherboard components. i) Figure L3(i) shows the layout of a motherboard. Identify the labeled components. Answer :                                                                                                                                 Written by Arif (AI210125) 😎

Lab Task 4 - BIC10503

Image
 Number Systems and Arithmetic 1. Change the following numbers to base 10: 2. Change the following base 10 numbers to the indicated base: 3. Convert the following two complement numbers into their signed decimal equivalents. 4. Add the following signed decimals using twos-complement numbers.                                                                                                                         Written by Arif (AI210125) 😎

Lab Task 6 - BIC10503

Image
Digital Logic Digital computers perform a variety of information processing tasks. Among the basic tasks encountered are the various arithmetic operations. The most basic arithmetic operation is the addition of two binary digits. This simple addition consists of 4 possible operations, they are 0+0=0, 0+1=1, 1+0=1, and 1+1=10. This is called bit adder. Q1. Based on the explanation above, design a circuit for a bit adder. Q2. Test your design in Q (1) using a digital logic simulator. Situation a) 0 + 0 = SUM 0 CARRY 0 Situation b) 0 + 1 = SUM 1 CARRY 0 Situation c) 1 + 0 = SUM 1 CARRY 0 Situation d) 1 + 1 = SUM 0 CARRY 1 Written by Arif (AI210125) 😎

LAB 2 - BIC10204

Image
QUESTION 1 (a, b, and c) : 1. Identify what are the input, process, and output.  a. Find the mean of 4 numbers, P, Q, R, and S.  b. Convert a length of an object from millimeter to centimeter.  c. Calculate the volume of a cone, if the volume is below 12cm^3, print “ Accepted ” but if the volume is equal or more than 12cm^3, print “ Not Accepted ”. IPO FOR  QUESTION 1(a, b, and c) : a. Input: P, Q, R, S Process: Mean = (P+Q+R+S)/4 Output: Mean of 4 numbers b. Input: Length of the object in millimeter Process: Unit conversion (mm to cm)  =  Length of the object in millimeter x 10 Output: Length of the object in centimeter c. QUESTION 2(a and b): 2. Draw the flowchart for the given questions. a. A company selling sports goods would like to give discounts to customers by organizing annual sales. If customers buy goods of more than RM 100 then customers will get a discount of 10%. However, if they buy RM 500 and above then a 50% discount will be given. b. A st...

LAB 4 - BIC10204

Image
   QUESTION 2: 2. Write a complete program following the algorithm given below.      2.1 Print a message to ask users to enter their names.      2.2 Read the name.      2.3 Print a message to ask users to enter their height and weight in kg and m.      2.4 Read weight and height.      2.5 Print name.      2.6 Print weight and height. CODING & OUTPUT  QUESTION  2: QUESTION 3: 3. Write a complete program following the algorithm given below.      3.1 Declare identifier of integer data type named num1.      3.2 Declare identifier of float data type named num2.      3.3 Declare a constant called MAX with a value of 50.88.      3.4 Print a message to ask the user to enter a value for num1.      3.5 Read num1.      3.6 Print a message to ask the user to enter the value for num2.    ...

LAB 5 - BIC10204

Image
  QUESTION a: a. Convert this mathematical expression into C expression: ANSWER FOR QUESTION a:      i)    y = (m*x) + c          ii)   ((2*a)/b)*(3*c)          iii)  ((9*p)+(2*q*(r+2)))/(2*(s-1))          iv)   (((3*e)-d)/(x-9))-(4-(3*pow(c,2))/(4*y)) QUESTION b: b. Determine the order of solving the expressions below and calculate the value of x. ANSWER FOR QUESTION b:     i)    x = ((6/2)*3)+7-1           x = 3*3+6           x = 15                ii)   x = (2%2)+(2*2)-(2/2)           x = 0+4-1           x = 3                iii)  x = ((3/3)*9+3)*3*3           x = 12*9           x = 108   ...

LAB 6 - BIC10204

Image
QUESTION a: a. Write a program using if … else statement to display student’s bachelor class of graduation based on Cumulative Grade Point Average (CGPA) by referring to the table below. CODING & OUTPUT a: QUESTION b: Table 1 shows classification of blood pressure based on the systolic blood pressure (SBP) and diastolic blood pressure (DBP) level and recommendations for follow up defined by The Seventh Report of the Joint National Committee on Prevention, Detection, Evaluation and Treatment of High Blood Pressure. Based on Table 1, write C program to determine blood pressure. This program will read SBP and DBP and display the blood pressure category and recommendation as an output messages. CODING & OUTPUT b: QUESTION c: Write a program using nested if statements that perform the following test: If the variable employed is equal to ‘Y’ and if worklength is equal or greater than 5, then display the message “Your credit card application is accepted”. However, if worklength is les...