(Inter Part - II)
(Session 2013)
Computer Science (Objective)
Time Allowed:- 20 minutes
Max. Marks 15
Note: you have four choices for each objective type question as A, B, C and D. the choice which you think is correct fill that circle in front of that question n umber. Use marker or pen to fill that circle cutting or filling two or more circles will result in zero mark in that question. Attempt as many questions as given in objective type question paper and leave others blank. Use of ink remover or white correction fluid is not allowed.
Q.No.1
(MA- Access)
- Which of the following refers to the correctness and consistency of data?
(A) Data independence
(B) Data integration
(D) Data integrity
(C) Data model
- An attribute is also known as
(A) Relation
(B) Row
(C) Field
(D) Tuple
- Which of the following is not a basic data distribution strategy?
(A) Centralized
(B) Partitioned
(C) Hybrid
(D) Duplicate
- Referential integrity is applied on
(A) Primary key
(B) Foreign key
(C) Secondary key
(D) Candidates key
- The actual data of database is stored in
(A) Tables
(B) Forms
(C) Queries
(D) Reports
- How many table views are available in Ms-Access?
(A) One
(B) Two
(C) Three
(D) Four
- C – Language: The programmer usually enter source code into computer using
(A) Compiler
(B) Debugger
(C) Text editor
(D) Linker
- Visual Basic: The process of writing a program nto programming language is called
(A) Compiler
(B) Debugging
(C) Coding
(D) Flow chart
- C – Language: Which of the following operators work with one operand?
(A) Logical
(B) Unary
(C) Binary
(D) Tertiary
- Visual Basic: The output of compiler is called
(A) Source code
(B) Object code
(C) Linked code
(D) Program
- C –Language: The ampersand (&) used in scanf () function is called.
(A) Address Indicator
(B) Cell Address
(C) Address Operator
(D) Binary Operator
- Visual Basic: A predefined screen that can be used as one of the building blocks of an application is
(A) Method
(B) Property
(C) Control
(D) Program
- C –Language: The function used to display output on screen is called.
(A) Printf( )
(B) Scanf( )
(C) Getch( )
(D) Gets ( )
- Visual Basic: Which event is triggered before form is loaded or displayed?
(A) Initialize
(B) Unload
(C) Terminate
(D) Activate
- C – Language: Switch ( ) Structure is an alternative of
(A) If
(B) If else
(C) Nested if else
(D) Conditional operator
- Visual Basic: Which property will put text in the title bar of the form?
(A) Title
(B) Barder Text
(C) Caption
(D) Header
- C – Language: How many types of loop structure are available in C- Language.
(A) One
(B) Two
(C) Three
(D) Four
- Visual Basic: Which data type is used to handle yes/No response?
(A) Integer
(B) Short
(C) Boolean
(D) Date
- C – Language: Which statement is used to move the control to the start of the loop body?
(A) Continue
(B) Break
(C) Exit
(D) Switch ( )
- Visual Basic: The expression O Mode 4 has a value equal to
(A) Four
(B) Three
(C) Two
(D) One
- C – Language: The process of sending an argument to a function is called
(A) Sending
(B) Filtering
(C) Delivering
(D) Passing
- Visual Basic: The keyword that makes the end of a Do loop structure is
(A) END DO
(B) EXIT DO
(C) END WHILE
(D) LOOP
- C – Language: A file is stored in
(A) Hard disk
(B) RAM
(C) ROM
(D) Cache
- Visual Basic: Memory is allocated to a local variable at the time of its.
(A) Declaration
(B)
Definition
(C)
First reference
(D)
Destruction
(Inter Part - II)
(Session 2013)
Computer Science (Subjective)
Time Allowed:- 2.10 hour
Max. Marks: 60
2. Answer briefly any six parts from the following:
(MS-ACCESS)
- Define DBMS.
- Name different types of file organization.
- State the purpose of index file.
- List different types of keys.
- Write ingredients of data modeling.
- Explain normalization.
- Write dawn any two database objects.
- Describe action query.
- What is radio button?
3. Answer briefly any six parts from the following:
C-Language
- What are run time errors?
- Differentiate between syntax error and logical error.
- Give example of pre-processor directive.
- List the rules of identifier.
- What is a user defined data type?
- What do you mean b y range and precision?
- Find the output of the following code:
char A1, A2, A3;
A1=’W’;
A2=’X’;
A3=’Y’;
printf (“%C %C %C”, A1,A2, A3);
- Give single printf statement to print the following message:
Number of students:
Numbers of Courses:
- Trace out errors in the following code.
Float area ,r,
Clrser ();
Printf (“Enter radius”);
Scanf (“%d”, r) OR Visual Basic
3. Answer briefly any six parts from the following:
- Define object and property.
- How can you close a file?
- What is the purpose of control naming conventions?
- Write the use of caption.
- List major parts of VB IDE.
- Define Visual Basic.
- State Algorithm.
- List two guidelines for drawing flow chart.
- Define source code.
C-Language
4. Answer briefly any six parts of the following.
- Define control structure.
- What is the output of the following code?
int p,q,r; p=10; q=3; r=-2;
if ((p+q)<14 && (r<q-3))
printf ( “%d”,r);
else
printf (“%d”,p);
- What is conditional operator? Write the syntax of conditional operator.
- Define “While” loop.
- How many times will the following loop display “Hellow”
for (int i=0; i<20 ; i++) Printf (“Hellow”)
- What is sentinel-controlled loop?
- What is function definition?
- What is function call?
- What is text file?
OR
Visual Basic
4. Answer briefly any six parts of the following:
- What is meant by concatenation?
- Describe the process of declaring variables.
- What is Iterative structure?
- Define the relational operator.
- Differentiate between pretest and post test in Loop.
- Describe the assignment statement.
- What is the effect of local variable?
- Explain operator precedence.
- What is nested loop in V.B?
Section II
Attempt any ONE question.
Ms-Access
5. Write a note on the advantages of Database system.
6. Explain different data types available in MS-Access.
Section III
Attempt any TWO questions either from “C-Language” OR from “Visual Basic”.
C-Language
7. Describe Language processor or translator? Discuss different types of language and processors.
Visual Basic
7. Define Form object? Explain different types of Form object (2+6=8)
C-Language
8. Briefly describe the basic control structures for writing C-Program.
Visual Basic
8. Briefly describe the basic control structures for writing VB program.
C-Language
9. Write a program in C to input starting number and ending number and to display all even numbers in the given range using do-while-loop.
Visual Basic
9. Write a program in VB to input starting number and ending number and to display all even numbers in the given range using do While loop.