2nd Year CS-F.B A+B (27-04-15) Full Book
2nd Year CS-F.B A+B (27-04-15) Full Book
2nd Year CS-F.B A+B (27-04-15) Full Book
(xii). Which of the following looks for the prototypes of the built-in functions used in C program
(a) linker (b) compiler (c) pre - processor (d) loader
(xiii). In a C program two functions can have ……………..
(a) same name (b) same name & same parameters
(c) same name but different parameters (d) none of these
(xiv). Which of the following cannot be checked in a switch – case statement?
(a) character (b) integer (c) float (d) none
(xv). ------------ is the type of file from usage point of view
(a) master file (b) data file (c) program file (d) all of these
(xvi). A computer program written in a high level language is called
(a)object code (b) machine code (c) source code (d) none of these
(xvii). Debug is process of
(a) creating bugs in program (b) identifying and removing errors (c) identifying errors (d) none of these
Subjective
Note: Attempt 22questions.
Section – I
Q#2 Answer the short questions. (Any 8)
(i). Briefly explain relational database model?
(ii). Explain ER diagram briefly?
(iii). What is meant by data dictionary?
(iv). What do you know about replicated data distribution strategy?
(v). What is the difference between homonym and synonym attributes in a relation?
(vi). Define partial functional dependency?
(vii). What is cardinality of relations?
(viii). Briefly explain referential integrity?
(ix). What is a switch board?
(x). Write down all properties of a relation?
(xi). What is partial dependency?
Q#3 Answer the short questions. (Any 8)
(i). What do you know about delimeters?
(ii). What is bug? Also write down names of different debugging features of Turbo C?
(iii).What is sentinel value & where we use it?
(iv). What do you know about cancellation error?
(v). Briefly explain continue statement in context of loops?
(vi). Show how the value –14.512 would be printed using the format specifiers; %0.2f & %8.4f.
(vii). Why ‘default’ statement is used in switch statement?
(viii).Display the output of the program?
Void main(void)
{
Int i = 1;
Switch (i)
{
Printf(“What is this???????”);
case 1:
printf (“Case 1”);
case 2:
printf(“Case2”);
break;
}
}
(ix). Explain break statement in context of Repetition control structure?
(x). What is file pointer?
(xi). What is the use of void keyword?
Q#4 Answer the short questions. (Any 6)
(i). Briefly describe Selection control structure?
(ii). What is the difference between function prototype and function header?
(iii). Define the term ‘signature of a function’ briefly?
(iv). What is the advantage of using Global variables?
(v). Differentiate between formal arguments & actual arguments?
(vi). Why return statement is used in functions?
(vii). List down different modes in which data files are opened in C?
(viii). What is an infinite loop?
(ix). Differentiate between constant variable / idenfifier and simple variable with the help of code?
SECTION – II
MS - ACCESS
Note: Answer any one of the following questions on your answer sheet. Each question carries
8 marks.
Q#5 Write names of keys? Explain briefly any 4 keys.
Q#6 What is a database? Briefly describe the Objects in MS Access?
SECTION – III
C – LANGUAGE
Note: Answer any 2 of the following questions on your answer sheet. Each question carried 8
marks.
Q#7 What are variables? Explain any 5 rules for naming variable.
Q#8 What you know about if-else statement? Give an example to describe it.
Q#9 What is do-while loop? Explain with the help of example.