You are on page 1of 1

SCS1101 ASSIGNMENT 1

DUE THURSDAY 5 OCTOBER 2023

1. Name and describe the components of a computer system (10)

2. Convert the following:

a) 15710 to binary (2)

b) 13110 to hexadecimal (2)

c) DBE516 to decimal (2)

d) 111000102 to decimal (2)

e) 562148 to decimal (2)

3. Write a program that checks whether a given number is a palindrome or not (10).

4. Write a program to calculate the area and circumference of a circle. Your program

should prompt the user to input the radius (10).

5. Write a C program that displays the Fibonacci series (10).

You might also like