Wa0005
Wa0005
Question No.3 Write short answers of any six (6) questions of the following 6x2 = 12
1 What is difference between standard identifiers and keywords?
2 What are signals? Differentiate analog and digital signals?
3 Why initialization of a variable is important?
4 What is the difference between Declaring and Defining a variable?
5 What is float data type in C? Enlist the sizes of different float data types?
6 What is the different between signed and unsigned keywords?
7 What is difference between "==" and "=" ? Explain with example?
8 What is operator precedence means? Which operators have highest and lowest
precedence in a C expression?
9 What is expression?
Question No.4 Write short answers of any six (6) questions of the following 6x2 = 12
1 What is printf function? Write its syntax?
2 What is format string?
3 What is format specifier? Explain with a program example?
4 What is feild width specifer? How it works with format specifier?
5 What is escape sequence? Give four examples of escape sequences?
6 What is difference between getch and getche functions? Write their syntax?
7 What is difference between scanf and character input functions? Write syntax of scanf
function?
8 Write the Output of this statement: printf(“%6.3f \t%4d”,66.5645,45634);
9 Why we use & symbol in C program?
Note: Question # 8 is compulsory. Attempt any two questions from 5, 6, 7 and 9 8x3 = 24
------------------------------------------------------------------------------------
Subject Score Total Marks Percentage
------------------------------------------------------------------------------------
Computer 80 100 80
English 65 100 65
Mathematics 74 150 49.3
Physics 55 100 55
#include<stdioh>
#incluode<conio.h>
{ voide main()
clearscr();
int var2,var1,var
float float2,float1,float;
var1,float1 = 12,3.14;
3 * var1 = var2;
printf("%f %d" var2,float1);
}
END