11th and 12th ch #5

Embed Size (px)

DESCRIPTION

11th and 12th ch #5

Citation preview

Name_________Class___12thSubject__________

Short questions attempt any five3*5=151) Define control structure and write the name of its type?2) Define nested-if statement with help of flow chart?3) Write a program that take input from user and print weather its positive or negative?4) Define switch statement and write its syntax?5) Define conditional operators?Long Question attempt any two8*2 =166) A) Define conditional operators in detail?B) Write a program that input temperature and display a message according to the following dataTemperature Message

Greater then 35Hot DayBetween 25 and 35Present DayLess then 25Cool Day

Name_________Class 11th Subject__________

Short questions attempt any five3*5= 151) Define Register and write the name of its types?2) Define ALU?3) Define the role of Stack pointer register?4) What is accumulator?5) Define operating system and write its function?Long Question attempt any two 3+2+2=71) Write brief note on the following topic a) System busb) Three Address formatc) EEPROM