Professional Documents
Culture Documents
CS101 - Assignment 01
CS101 - Assignment 01
CS101 - Assignment 01
MTM
F Introduction to Computing (CS 101-E) (Fall 2021)
Marks (15)
st
Assignment # 1 Semester (1 ) Submission Date: 14-Oct-2021
Q1. Convert the following Binary Numbers to Decimal, Hexadecimal and Octal number equivalent
respectively: [5]
a) 10100111
b) 10101.0001
a) 901
b) 321
a) (98)10 to binary
Q5: What is the difference between Compiler and Interpreter? Which one is better? Discuss. [2]
Compute and display the total cost of apples given the number of apples purchased is 10
and cost per apple is 5Rs.