XII Science
2014
Option #1 (Programming Using C)
Time:20 Minutes Section # A Max.
Marks 15
Multiple Choice Questions (M.C.Qs)
Note: i. This section of 15 part questions
and and all are to be answered. Each question caries one
mark.
ii. Do not copy down the part questions
in your answer book. Write only the answer in full against the proper number of the question
and its part.
1. Choose
the correct answer for each from the given options.
i) Every C
Programs must have this function:
* Recursive * Input / Output * main * printf
ii) Library
routines are attached to object program through:
*
Compiler * linker * assembler
iii) Saving
the function’s definition under ‘.h’ extension creates:
* Link
file * object file * source file *header file
iv) Unconditional
looping is implemented through:
*for *while * do – while *none of these
v) DML
queries are also called:
* sub
queries * joins *action queries *unions
vi) If a=-15,
the statement a+=5 yields.
*15 *-10 *-15 *-5
vii) In %5d, 5
is:
* field’s width specifier *integer *hex value *one of these
* field’s width specifier *integer *hex value *one of these
viii) ‘One
–to-many’ refers to:
*Cardinality * Constraint * Joint *
Union
ix) This is
an arithmetic operator:
*& *% *&& *<=
*& *% *&& *<=
x) The data
type OLE is used for:
*numerical
data *Text * Object Linking and Embedding *none
of these
xi) This is a
postfix increment operator:
*++a *a+ *a++ *+a
xii) The
extension of a ‘C’ program is:
*.cpp *.tc *.cp *.cc
xiii) This
format specifier is used for ‘float’ data:
*%c %d %f %x
xiv) The range
of integer value is:
+-32768
to 32767 * -30676 to +30678 * -34877 to +32767 *-36677 to +36678
xv) This loop
uses post testing:
*for() *while() *
do-while() *none of these
Time: 2 Hours 40 Min Section # B&C Total Marks
60
Option #1 (Programming Using C)
Section# B Short Answer
Questions Max. Marks 36
Note:
Answer any six part questions from this
section. All questions carry equal marks. No
answer should exceed 6-7 lines.
2. i) What
is the basic structure of a C Program ?
ii) List
all iterative control structures in C. Explain any one of them with syntax.
iii) Write a program in C that swaps to numbers.
iv) What
is a user define function? Write its syntax.
v) Write
a function that returns the cube of any inputted number.
vi) Define
format specifiers in C-Languages.
vii) Convert
the following mathematical expressions into C-Language statements using library functions.
a) z=
b) x= 
C) N = a3 + 3a2 b + 3ab2 + b3
viii) Write a Program in C-Language that prints the following:
1
22
333
4444
55555
ix) What
is relationship? State the kinds of relationships used in Ms-Access.
Section # C (Detailed
Answer Questions) (Marks 24)
Note: Answer any two
questions from this section. All questions carry equal marks.
3. a) Write a program that uses switch
statement.
b) Explain function prototype with an
example.
4 a) Explain all types of operators used
in C.
b) Explain the data types used in C-
Language with example. How much space is reserved for
each data type in memory?
5 a) Write the advantages of Database.
b) Explain the objects used in
Ms-Access.
2014
Option #1 (Programming Using Visual Basic)
Time:20 Minutes Section # A Max.
Marks 15
Multiple Choice Questions (M.C.Qs)
Note: i) This section of
15 part questions and all are to be answered. Each question carries one mark.
ii) Do
not copy down the part questions in your answer book.
Write only the answer in
full against the proper number of
the question and its part.
1. Choose the correct answer for each from
the given options:
i) This
control accepts textual information from the user:
* Label *textbox *Caption * Canvas
ii) The
Collection of homogenous data item is kept in:
*Function *Procedures *Structure *Array
iii) Multiple input choices are displaced through:
iii) Multiple input choices are displaced through:
*Function * Window *
List box *Labels
iv) The
reserved word ‘END SUB’ is used to:
*start function * end procedure *end program *none of these
v) SQL
stands for:
*simple query language * structured
query language
* system query language * none of these
vi) One-to-One,
one to many and many to many are called:
*Constraints * Cardinality *String * key
vii) Attribute
of an Entity is mapped as:
*field *record *tuple *none of these
viii) Bound field is bound to have an associated:
*File * Record * Record Set *data
ix) ADO
is gateway to:
*Server * OS *database *none of these
x) WHILE
WEND is a/an:
*conditional loop unconditional
loop *Post-test loop *none of these
xi) SQL
view in Access is used for:
*Form designing * Query
designing * Labels * none of these
xii) Constraints
are dropped through:
*DDL *DML * DQL *DCL
xiii) The Data about Data is:
*Data *Data dictionary *Table
*Views
xiv) IDE
stands for:
*Integrated Development
Environment * Integrated Design
Environment
*none of these
xv) OLE
stands for:
i) Object Linking and
Enhancing
ii) Object Linking and
Embedding
iii) Object Listing and
Embedding
iv) Object Linking and
Enhancing
Time: 2 Hours 40 Min Section # B&C Total Marks
60
Option #1 (Programming Using Visual Basic)
Section# B Short Answer
Questions Max. Marks 36
Note: Answer any six
part questions from this section. All questions carry equal marks. No answer
should exceed 6-7 lines.
2. i) List all Control Structures used in
VB . Write syntax of any one of them.
ii) Write code to invoke a sub – form
from the current active form over click operation on a command button.
iii) Given two text boxes= and a command
button labeled as “ Copy”. Write the code to copy text2 item into text item
under click on “copy” button.
iv) Differentiate between Primary Key and
Foreign Key.
v) Write sub routines for a simple
calculator over a form.
vi) Write a program in Visual Basic to
display the following pattern:
*
**
***
****
*****
vii) Define the following:
*Text
box * List box * Combo box *Form
viii) Explain event driven programming.
ix) Write a program using for loop to
print odd numbers from 1 to 50.
Section # C (Detailed
Answer Questions) (Marks 24)
Note: Answer any Two question from this section.
All questions carry equal marks.
3. a) Explain Selection Control Structures
used in VB.
b) Explain joins and sub queries in
DBMS.
4 a) Explain functions or subroutines
with examples.
5 a) Explain the different data types
used in VB.
b) Write a program which takes three
integers and prints the largest value among them .
2013
Option #1 (Programming Using C)
Time:20 Minutes Section # A Max.
Marks 15
Multiple Choice Questions (M.C.Qs)
Note: i. This section of 15 part questions
and and all are to be answered. Each question caries one
mark.
ii. Do not copy down the part questions
in your answer book. Write only the answer in full against the proper number of the question
and its part.
1. Choose
the correct answer for each from the given options.
i) Each escape sequence must start
with:
*
&(and Sign) * / (Forward Slash)
*
\
(Back Slash) *
% ( Percent Sign)
ii) All C- Language program must have a
function called:
*printf(
) *getche() *main() *scanf()
iii) A program that is written in high
level language and is converted into Low Level Language is known as:
*op-code * source code *object code *none
of these
iv) All three expressions of for loop
must be separated by:
*
, (Comma) * ;(Semi colon) *&(and) *none of these
v) Key field must contain:
*
Filtered values * Default
Values * unique
values *
Duplicate Values
vi) User defined function must have:
*address *prototype *arguments * none of them
vii) Which of the following Control
structures used DO – WHILE?
*
Sequence Logic * Selection
Logic * Iteration Logic *none of these
viii) Collection of related files is called:
*files *database * record * none of these
ix) Which of the following is a primary
object in Ms-Access?
*
Table * Form *Query *
Report
x) A function that calls itself is
called:
*Repeating
function * Iterative function * Recursive function *none of these
xi) Which statement is used to exit the
switch statement?
*Break *If *Continue *none
of these
xii) Which of the following is an
arithmetic operator?
*% *& *&& *<
xiii) The full form of IDE is:
*Integrated
Design Environment *Internal
Design Environment
*
Integrated
Development Environment *
Interconnected Development Environment
xiv) The step by step solution, of any
program is called:
*a
flow chart *a pseudo
code * an
Algorithm *none
of these
xv) Which format specifier is used for
double data type:
*%d *%f *%c *%lf
Time: 2 Hours 40 Min Section # B&C Total Marks
60
Option #1 (Programming Using Visual Basic)
Section# B Short Answer
Questions Max. Marks 36
Note: Answer any six
part questions from this section. All questions carry equal marks. No answer
should exceed 6-7 lines.
2. i) Define source code and object code.
ii) Define switch case statement with an
example.
iii) What are Escape Sequences? Mention
all escape sequences.
iv) What will be the output of following
C-Language Program.
For(i=5;
i>0;i-)
For(j=1;j>=I;j++)
Printf(“%d”,i);
Printf(“\n”);
v) Write a C Language Program of
character I/O which reads a character from
a text file name ABC.TXT.
vi) What is an Algorithm? Write different
Algorithm standard notations.
vii) Convert the following mathematical
expression into equivalent “C” expressions:
i) x=
ii) 
iii) (x+y)n
viii)
Define various data types
supported by Ms – Access.
ix) Write a program to generate prime
number upto 11 ( like 2 3 5
7 11)
Section # C (Detailed
Answer Questions) (Marks 24)
Note: Answer any Two question from this section.
All questions carry equal marks.
3. a) Explain different data types in
C-Language with examples of each.
b) What is a Loop? Define different
loops used in C-Language.
4. a) What is a Function? What are the
major characteristics of any function?
b) Define database Model with diagram.
5. a) Name the control structure with
syntax and example.
b) What are format specifiers and how
do we use them in C-language program?
2013
Option #1 (Programming Using Visual Basic)
Time:20 Minutes Section # A Max.
Marks 15
Multiple Choice Questions (M.C.Qs)
Note: (i) This section of 15 part questions
and all are to be answered. Each question carries one mark.
(ii) Do not copy down the part questions
in your answerbook. Write only the answer in full against the proper number of the question and its
part.
1. Choose correct
answer for each from the given options:
i) The abs(
) function returns as:
* Positive
value *
+ & - both *
Negative value * none of
these
ii) In Ms –
Access, which object is used to represent data in a printed format?
* Query * Form *Report *Macro
iii) When the
variable scope is limited to a procedure, it is called:
*Global
Variable *Local
Variable
*Host
Variable *all of these
iv)
No comments:
Post a Comment