Upload
muhammad-bilal
View
215
Download
1
Embed Size (px)
DESCRIPTION
CH#5 for 9th and 10th
Citation preview
Name_________Class 9th Subject__________Short questions attempt any five3*5 = 151) Convert 107(8) into binary?2) Make table of binary addition?3) Add following binarya) 01011101 +001100104) Calculate (-54-30) using 8 bits 1st compliment method?5) Represent 23.6 in 16 bit fixed-point form using 10bit for integral part?6) Represent -117.125 as a 16-bit floating point number?7) Represent 9807 BCD?Long Question attempt any two 8*2 =161) Multiply these binary?a) 0110 x 1011b) 0011 x1111 c) 0101 x 10102) Divide these binarya) 111/01001101b) 1011/011110013) Define floating pint representation in detail with example?
Name_________Class 10th Subject__________
Short questions attempt any five3*5 = 151) Define data filed and record?2) Define program file?3) Write down the syntax of opening and closing of files?4) Define random and sequential file?5) Define modes of file opening?6) What is meant by LEN=LEN (Record Variable)?7) What is difference between print and write command?Long Question attempt any two 8*2 =161) Define Closing of files in sequential file access method?2) Write a program that create sequential fill named INFO.DAT and store data init by input data by user3) How to read record from a file using Random Access method?