RAWALPINDI BOARD 2015
PAPER COMPUTER PART-II
(Objective Part)
Time: 20 Minutes Marks: 17
Note: You have four choice 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 number. Use marker or pen to fill the circles. Cutting or filling two or more circles will result in zero mark in that question.
- Which auto form displays one record at a time:
A. Columnar
B.
C.
D.
- Storage and retrieval of data is related to:
A. Data manipulation
B.
C.
D.
- Insert command is used to insert:
A. New record
B.
C.
D.
- A row of a relation is called a (n):
A. Tuple
B.
C.
D.
- An entity related to itself in an ERD model refers to:
A. recursive relationship.
B.
C.
D.
- In 3NF, which form of dependency it removed:
A. Transitive
B.
C.
D.
- To find four character name that starts with H, the criteria is specified as
A. H
B.
C.
D.
C-Language
- Formal arguments are also called:
A. Dummy arguments
B.
C.
D.
- Which mode only an existing file for both reading and writing:
A."w"
B. "r+"
C. "w+"
D. "a+"
- B was developed in the year:
A. 1968-70
B. 1965-75
C. 1972-1988
D. 1989-1994
- Which of the following are valid variable names:
A. long
B. integer
C. not long enough
D. B & C
- An ampersand (&) before the names of the variable name, denotes:
A. address
B.
C.
D.
- Format specifier is started with the symbol:
A. %
B.
C.
D.
- Another term for a computer making a decision is:
A. selection
B.
C.
D.
- Which of the following are valid case statements in a switch:
A. Case
B.
C.
D.
- How many types of loop structure are available in C language:
A. 3
B.
C.
D.
- This means to increase a value by one:
A. increment
B.
C.
D.
OR Visual Basic
- The keyword that makes the end of a Do structure is:
A. END DO
B. loop
C. Exit DO
D. GODO
- The increment in a for ...... Next loop can be:
A. Positive only
B. Negative only
C. both a & b
D. none
A. front end
B. back end
C. both a & b
D. none
- The output of the compiler is called:
A. The program
B. source code
C. code
D. object code
- The naming prefix for a label control is:
A. lab
B. the
C. Ibl
D. I
- The property that changes text color is:
A. back color
B. fore color
C. font color
D. text color front
- Variable and constant names cannot contain a in:
A. number
B. period
C. letter
D. underscore
- Which data type is used to handle a yes or no response:
A. boolen
B. short
C. integer
D. date
- All of the following are relational expressions except:
A. e
B. 84
C. =
D. >=
- How many conditions are required to write an if…… then…… else statement"
A. 0
B. 1
C. 2
D. 3
Inter (Part-II) Rawalpindi Board 2015
Computer
Part II (Subjective)
Time Allowed: 3.10 Hours
Max. Marks: 83
SECTION-I
MS-ACCESS
2. Attempt any EIGHT short questions.
- What is data?
- What is field?
- Define Data sheet?
- What are the properties of a relation?
- What is foreign key?
- Define entity, give examples also?
- Define Modality?
- Define functional dependency with example?
- What is the use of MS-ACCESS?
- What is query?
- What is the use of Data sheet view?
- Define list box?
C-Language
3. Attempt any EIGHT short questions.
- Who is a programmer?
- What is an assembler?
- What is structured programming language?
- Define expression?
- Why are comments used in C program?
- Write the given statement in C language.
Z=(3*Y)(a2b2)?
- Trace the error: Integer x = 15, Printf("%d”,X)?
- Write the use of scanf function?
- Define escape-sequence?
- What is the use of format specifier in C-language?
- Trace the output?
printf("Book\t Reading\n”):
printf("is a\t very good");
printf("Habbit");
- Trace the output
float f=3.14159;
printf("f=%5.1f”,f);
4. Attempt any SIX short questions.
- Describe selection structure?
- Describe switch () statement?
- Trace the output?
Void man () {
Int p,q,r
P=10;
Q=3;
If (p%q==3)
r=0
else
r=1
printf("%d",r);
Getch ();}
- Trace the error?
Void main ();}
Int R;
r=25
if(R>0)
printf("Good")
getch ():}
- What is counter variable?
- Trace the output?
void main ()}
int a:
for (a=1;a<=100; a=a+3)
printf(“%d/n",a);
getch ();}
- What is function definition?
- What is the use of formal parameter?
- What do you mean by binary stream?
OR Visual Basic
3. Attempt any EIGHT short questions.
- Why is it important to identify a problem?
- What is object code?
- Why source code cannot be executed directly?
- What is concatenation of string?
- Define the USE of option explicit?
- Describe the use of message box?
- Write any two parameters of input box?
- What is goto statement?
- Write the general form or syntax of Nested?
- When should an if block is used instead of case block?
- What is the purpose of case else?
- Briefly describe the working of Nested?
4. Attempt any SIX short questions.
- Define-if...then Else structure?
- Define Do-Until loop?
- What-is the concept of sub key word?
- What is alignment statement in visual basic?
- What is keydown event?
- Define relational operator?
- Define omments in Visual Basic?
- What is local variable?
- Define logical error?
SECTION-II
MS-Access
Attempt any ONE questions.
Question #5
What are components of a logical model? Explain in detail?
Question #6
Describe different data types used in MS-Access?
Attempt any two questions either from "C-language" or "Visual Basic"
C-language
Question #7
Define language processor or translator. Discuss different types of language processors?
Question #8
Write a program which inputs a number and tells whether it is even or odd?
Question #9
Explain the working of while bop with flow chart and syntax?
Visual Basic
Question #7
Define flowchart. Discuss different flowchart symbols used in visual basic?
Question #8
Write a program in visual basic which inputs three numbers from user and tells maximum number from them?
Question #9
Explain the working of Do until loop?
SECTION –III:
Attempt any THREE Parts.
- Explain the procedure for creating simple query?
- How is auto report used to generate a report?
- Write a program that subtract two numbers and show result on screen in C-language or using Visual Basic?
- Write a program that inputs a number from the user and display a table of that number using for loop in C-language or using For-next loop in visual basic?
- Write a program in C-language that inputs two numbers in main. Function, passes these numbers to function. The function displays the maximum number or using Visual Basic?