Skip to main content

Posts

Lab Session 4 ( 8 October 2018)

LAB ACTIVITY 4 QUESTION 1a.) a.)Built the program that display output below. RESULT QUESTION 1b) RESULT

Lab Session 3 ( 1 October 2018)

LAB ACTIVITY 3 QUESTION 1  a. )  ANSWER b. ) ANSWER  c.) ANSWER   QUESTION 2 2.1 Print a message to ask user to enter their name. 2.2 Read name. 2.3 Print a message to ask user 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. QUESTION 3 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 user to enter value for num1. 3.5 Read num1. 3.6 Print a message to ask user to enter value for num2. 3.7 Read num2. 3.8 Print a message to ask user to enter value for MAX. 3.9 Read MAX. 3.10 Print num1, num2 and MAX. ANSWER QUESTION 4 Develop a simple subject registration system. The program requires user to enter student's full name, I/C number, matric number, s...

Lab Session 2 ( 24 September 2018)

ALGORITHM AND PROGRAMMING (BIC 10204) (SECTION 4) MADAM HANAYANTI BINTI HAFIT Lab Session 2(a) RESULT: Lab Session 2(b) 1) RESULT: 2) RESULT: 3) RESULT: 4) RESULT:

Lab Session 1 ( 17 September 2018)

ALGORITHM AND PROGRAMMING (BIC 10204) (SECTION 4) MADAM HANAYANTI BINTI HAFIT #teamsuccess Lab session 1 (17 September 2018) 1. Identify what are the input, process and output.             a.)     Find the mean of 4 numbers P,Q,R and S. Answer   Input : P,Q,R,S Process : Calculate the mean = (P+Q+R+S)/4 Output : Mean of 4 numbers b.)     Convert a length of an object from millimeter to centimeter. Answer Input : Length of object in millimeter Process : Convert millimeter to centimeter, length = 10/length in millimeter Output : Length of object in centimeter c.)     Calculate the volume of a cone, if the volume is below 12cm³, print “Accepted” but if the volume is equal or more than 12cm³, print “Not Accepted” . Answer Input : Volume of cone Process : Determine whether volume below, equal or more 12cm³ Output : Accepted, Not Accepted 2.  Draw the fl...