Sardar Vallabhbhai Patel Institute of Computer Application, Vasad
FYBCA (1st Sem) || US01MABCA01|| Programming Fundamental using C
Model Paper-1 || Nov-2023
Total Marks:50
Q.1 Multiple Choice Questions. [10]
1 _________is a step by step approach to solve any problem.
a) Process b) Programming Language c) Algorithm d) Compiler
2 _____converts the programs written in assembly language into machine instructions.
a) Compiler b) Interpreter c) Assembler d) Translator
3 ________ Section consists of header files.
a) Main function b) Definition c) Documentation d) Link
4 ________ format specifier is used for floating data type.
a) %f b) %d c) %c d) %e
5 switch expression must be of ______ type.
a) integral b) float c) double d) none of these
6 In Array subscript begins with _____________.
a) One b) Zero c) Three d) None of these.
7 If x = ‘z’-1; then x will be _____________.
a) x = 121 b) x = 125 c) x = 112 d) None of these
8 ______________returns an absolute value.
a) abs( ) b) isdigit( ) c) isupper( ) d) islower( )
9 For initialization of array, values in the list are separated by _________________
a) Question marks ( ? ) b) Commas ( , ) c) Exclamatory marks (!) d) None of these
10 The value that can be changed during program execution is known as ________.
a) Variable b) constant c) Operator d) None of these
Q.2 What is flow chart? List and explain all symbols used to draw a flow chart. [10]
OR
Q.2 What is Computer Language? Explain Machine level , Assembly and High level language. [10]
Q.3 Which are the classes of data types? List and Explain primary data types with example. [10]
OR
Q.3 What is an operator? List all and explain any four operators with example [10]
Q.4 Explain decision making statements with syntax and example. [10]
OR
Q.4 Define array and 1-D array. Also explain declaration and initialization of 1-D array with syntax [10]
and example.
Q.5 Define string. List all and explain any four string handling functions with syntax and example. [10]
OR
Q.5 List and explain functions of <ctype.h> header files with syntax and example [10]
Best of Luck
1
Sardar Vallabhbhai Patel Institute of Computer Application, Vasad
FYBCA (1st Sem) || US01MABCA01|| Programming Fundamental using C
Model Paper-2 || Nov-2023
Total Marks:50
Q.1 Multiple Choice Questions. [10]
1 __________is a pictorial representation of an algorithm.
(a) Data Diagram (b) Flow Chat (c) Pie Chart (d) Program
2 What is the standard decision symbol for a flowchart?
(a) circle (b) lozenge (c) diamond (d) square
3 C language is _______________ language.
(a) High level (b) Machine (c) Assembly language (d) Low level language
4 Floating point numbers are stored with _____ digits of precision.
a) 2 b) 4 c) 6 d) 14
5 The combination of ?and : is known as ____________ operator.
a) Ternary b) Arithmetic c) dot d) Relational
6 _______ statement terminates the execution of loop.
a) Continue b) break c) switch d) none of these
7 In two dimensional array the second subscript specifies ____________size.
a) Row b) column c) Vector d) All of above
8 Individual value in array is called _____________
a) Element b) Number c) Index d) Element and number
9 strcmp(“ABCD”,”abcd”) = _________________
a) 0 b) Positive c) negative d) none
10 isalpha( ) function returns ________________ when the argument is not alphabetic
a) zero b) one c) three d) none of these
Q.2 What is Translator? List and explain types of translator in detail. [10]
OR
Q.2 What is an algorithm? Write characteristics of an algorithm and also Write an algorithm and [10]
draw a flowchart to find out N!
Q.3 Draw and explain basic structure of C program with one suitable program. [10]
OR
Q.3 What is an operator? List all and explain any four operators with example [10]
Q.4 Explain all looping statements (Iterative control structures) with syntax and example. [10]
OR
Q.4 Define array and 1-D array. Also explain declaration and initialization of 1-D array with syntax [10]
and example.
Q.5 Define string. List all and explain any four string handling functions with syntax and example. [10]
OR
Q.5 List and explain functions of <math.h> header files with syntax and example [10]
Best of Luck
2