Computer Science
L.K.No • 915
Inter • A • 2014
Inter(Part-II)
Session (2012.14)
Paper II i Objective Type )
The Allowed : 20 Minutes
Maximum Marks : 17
(Important Instructions ).
Note. Q.No.1 from Sr. No. 8 to 17 is of two types : (i) C - language (ii) Visual Basic-The candidates are required to attempt any one of them. While ( ) No.1 from Sr. No1 to 7 code is compulsory for all candidate,
Note: Four possible choices A, B, C, D) to each question are given . Which choice is correct fill that circle in front of that question number. Use marker: or pen to fill the circle Cutting or filling two or more circles will result in zero mark in that question. Use marker at pea to fill the circles.
- A report that provides o column for each field of be records in rows under the column header is known as :
(A) Tabular Report
(B) Columnar Report
(C) Datasheet
(D) Justified Report
- Why are validation rules used in a database:
(A) Ensure correct data is entered
(B) To avoid typing errors
(C) Both A and B
(D) Neither A nor B
- In 3f which form of dependency is removed
(A) Functional
(B) Non - functional
(C) Associative
(D) Transitive
- An entity related to itself in an ERD Model refers to:
(A) Recursive Relationship
(B) One to many relationship
(C) Many to many relationship
(D) One to one relationship
- A table in which the foreign key is found is called :
(A) Parent Table
(B) Dependent Table
(C) View
(D) All these
- A category of data or information that describes an entity is called a ( n ):
(A) Attribute
(B) Date Item
(C) Record
(D) Tuple
- The process of arranging data in a logical sequence is called :
(A) Sorting
(B) Summarizing
(C) Data Capturing
(D) Classifying
C - Language
- Which of the following function is used to read character from a file
(A) getec ( )
(B) putc ( )
(C) fputs ( )
(D) fgets ( )
- The name of actual and formal parameters :
(A) May or may not be same
(B) Must be same
(C) Must be different
(D) Must be in lower case
- Semi colon is placed at the end of creditor in :
(A) While Loop
(B) Do-While Loop
(C) For Loop
(D) All these
- Which of the following loop is called counter loop :
(A) For
(B) While
(C) Do-While
(D) None of these
- An expression that uses a relational operator is own as :
(A) Operational
(B) Sequential
(C) Serial
(D) Relational
- Which programming structure execute program statements in order :
(A) Relation
(B) Decision
(C) Sequence
(D) Repetition
- Which of following things are determined by format specifier :
(A) Data type
(B) Field Width
(C) Format of the Value
(D) all these
- The function getch ( ) is defined in:
(A) stdio.h
(B) conic. h
(C) string. h
(D) math .h
- Which of the given is equivalent to (p > = q ) ? :
(A) p < q
(B) p < q
(C) P >q
(D) !p < q
- The process of converting source code into object code is known as:
(A)Compiling
(B) Executing
(C) Linking
(D) Saying
Visual Basic
- Variably do holds a large group of similar type of data is called:
(A) Array
(B) Constant
(C) Scalar Vale
(D) Multiple Variable
- If you do not provide a data type on Dim or Public Statement . Visual Basic creates a………variable
(A) Variant
(B) Currency
(C) Integer
(D) String
- In V.B. which statement indicates the end of ;
(A) Next
(B) End - if
(C) End
(D) Else
- All of the given are relational operator except:
(A) @
(B) < >
(C) =
(D) > =
- What is the value of x after the given statements: Dim x as integer x = 15/4
(A) 15
(B) 13
(C) 3.75
(D) 4
- Which operator in only for string concatenation :
(A) Plus Sign (+ )
(B) Under Score ( -)
(C) Ampersand (&)
(D) " and "
- Which statement initializes and loads a form in memory without displaying it on screen :
(A) None
(B) Unload
(C) Hide
(D) Load
- A procedure or function that sports some value of an object is called :
(A) Property
(B) Method
(C) Control
(D) None of these
- The window that is used to establish initial property value for objects is :
(A) Code Window
(B) Property Window
(C) Form Window
(D) Main Window
- The most difficult part of problem solving is :
(A) Design Algorithm
(B) Testing Program
(C) Documentation
(D) Program Execution
Computer Science ( Subjective)
Inter-A-2014
Inter (Part-II )
Time: 3 :10 Hours
Marks : 83
Session (2012-14)
NOW. It is compulsory to attempt any (8) parts from Q.No. 2 While Q.No. 3 and Oh. 4 consists of two parts i -e :C _ Language and visual Basic. The candidates have to attempt any one part each from these questions i•e either C –Language or Visual Basic, and wiIl answer any (8) parts from Q.No. 3 and any (6) parts from Q No.4. attempt Section Il according to given instruction. While attempt any three parts from Q.No. 10 Section – III (Practical Part)
Q.No.2
- List different objective of Databases.
- Differentiate between Data and Information
- Describe Data Manipulation
- Define Alternate Key.
- How a relation is formed Database?
- Define cardinality .
- What do you mean by synonyms?
- What is the use of Foreign Key?
- How Querry is written.
- List some advantage of IDE.
- What is linking in MS-ACCESS.
- Name three methods for creating tables in MS-ACCESS.
C-Language
Q. No.3
- Define Low Level Language .
- What do you mean by Pre-Processor Directive?
- What is Linking ?
- What is the use of (OR) Operator?
- Trace the error in the following C code.
#include < stddio.h>
Void main ( )
{
Print f(“C Language is interesting “);
}
- Write the mathematical expression in C expression.
Ke = mv2
- Differentiate between getch ( ) and getche ( ).
- Discuss the purpose of % C format SpecifIer.
- What is the use of field width specifier?
- Describe signal line comments in C.
- Trace the output
int i = 20
print f(“% 6d “, i);
float t = 3.8961
print f (“value of t = % 6.2 f”, t);
Visual Basic
Q.No.3.
- Why Assembly Language is called Symbolic Language?
- Define an Algorithm
- What is VBA?
- What is the use of AND Operator in V.B?
- Describe Single Line Comments in VB.
- What are the parameters of Message Box?
- Write the syntax of case statement?
- What is the purpose of Val ( ) function?
- Which case option is used to test the range of values?
- Write down the general syntax of multiple if – then else statement in V.B.
- Define Repetition and discuses any one repetition structure V.B .
- Write the following expression in V.B.
Ke = mv2
C-Language
Q.No.4
- Define Selection Structure.
- Write the syntx of “ if . else “ statement .
- Trace the output
Void main ( )
{
int marks;
print f(“\n enter your marks );
scanf (“ % d “, & marks);
if (marks > = 40 )
print f (“\n Congratulation”);
}
- Trace the error in the following code.
int a ; b;
a = 10, b=5
if (a< b)
print f (“ \n A is less than b”);
- Define While Loop
- Define local variable .
- Define Function.
- What is a Text File ?
- What is the final value of x after executing the following code:
For ( int x = 0 ; x < 10, x ++)
Visual Basic
Q.No.4
- Write down the purpose of name property of a Control.
- Define Visual Basic
- Differentiate between a Project File and Form File.
- How are Event Procedures named?
- Write down any two properties of Form Object.
- Define Visual Basic Event. Give some example of event.
- Make a flow chart of does the following loop in V.B.
- How many times does the following loop execute.
i = 10
Do while i > = i
i = i . i
Loop
- Differentiate between Do -- Loop and For — Next Loop.
Note : Attempt any one question.
( MS- ACCESS )
Q.No.5. What is ER Diagram? Give an example of ER diagram. (8)
Q.No.6 . Briefly describe the advantages of using MS - ACCESS. (8)
Section-II ( Essay Type )
Note : Attempt any two questions either from C- Language 'or from Visual Basic ".
C - Language
7. How would you create , edit , compile , link and execute a program? (8)
8. Write a program that inputs marks and displays " congratulations " if the marks are 40 or more. (8)
9. What is Nested Loop in C Language? Explain with the help of example. (8)
7. Define Structure Programming .Discuss the advantages of Structure Programming. (8)
8. Write a function that takes marks and displays " congratulations" if the marks. (8)
9. Define For ……Next Loop in Visual Basic. Explain with the help of example. (8)
Section III ( Practical Part )
10. Note : Attempt any three parts of this question. (5 x 3 = 15)
- Write the procedure to create table in Design View.
- Write the procedure to create a Sub Form.
- Write a program that input height and width and calculate area using ( Area = Height * Width )in C or Visual Basic.
- Write a program to calculate sum of first ten odd numbers in C or Visual Basic.
- Write a function that inputs a number and tells whether it is Even or Odd in C-Language or Visual Basic.