Docsity

CS 101 Lab: Conversions and Temperature Algorithm, Exercises of Computer Science

Toggle sidebar
bg1
FACULTY OF COMPUTER SCIENCE
AND ENGINEERING
Time: 3 hrs. CS 101 Lab Marks: 10
Section: B Lab # 01 Dated: 06/09/2019
Task # 01 (5 points)
T1: Do the following conversions.
1. Convert (39472)10 to Binary
2. Convert equivalent octal form of (F13)16
3. Convert the binary number (010101010101111000)2 into its equivalent octal.
Task # 02 (5
points)
T2: Write an algorithm and draw a flowchart to determine whether a temperature is
below or above the freezing point.

Partial preview of the text

Download CS 101 Lab: Conversions and Temperature Algorithm and more Exercises Computer Science in PDF only on Docsity!

FACULTY OF COMPUTER SCIENCE

AND ENGINEERING

Time: 3 hrs. CS 101 Lab Marks: 10

Section: B Lab # 01 Dated: 06/09/

Task # 01 (5 points)

T1: Do the following conversions.

  1. Convert (39472) 10 to Binary
  2. Convert equivalent octal form of (F13) 16
  3. Convert the binary number ( 010101010101111000 ) 2 into its equivalent octal.

Task # 02 (

points)

T2: Write an algorithm and draw a flowchart to determine whether a temperature is below or above the freezing point.