RAWALPINDI BOARD 2012
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.
- In 2NF which form o dependency is removed
A) Partial
B)
C)
D)
- Microsoft access saves a database with the extension
A) .mdb
B)
C)
D)
- What is Z to A order called?
A) Descending
B)
C)
D)
- The process of arranging data in a logical sequence is called
A) Sorting
B)
C)
D)
- The columns of a table correspond to
A) Field
B)
C)
D)
- Which of the keys does not hold uniqueness property?
A) Secondary Key
B)
C)
D)
C-Language
- In which loop the condition comes before the body of loop
A) While
B)
C)
D)
- Global variables are created in
A) RAM
B)
C)
D)
- Which of the function is used to write a string to a file?
A) fputs
B)
C)
D)
- The process of running an executable file is known as
A) Executing
B)
C)
D)
- The number of bytes used by float data type in C is
A) 4
B)
C)
D)
- The escape sequence for backslash is
A) \\
B)
C)
D)
- Relational operators allow you to perform
A) Comparison
B)
C)
D)
A) Break
B)
C)
D)
- One execution of a loop is known as
A) Iteration
B)
C)
D)
OR Visual Basic
- Which of the following reverse the Boolean value of a relational operator
A) NOT
B)
C)
D)
- A loop that has no end point is called
A) Infinite loop
B)
C)
D)
- The key word that marks the end of a Do-Structure is
A) Loop
B)
C)
D)
The step by step procedure to solve Problem is called
A) Algorithm
B)
C)
D)
- Visual Basic is a product of
A) Microsoft
B)
C)
D)
- Methods characterize an object.
A) Behavior
B)
C)
D)
- The data type that is used for all types of values is
A) Variant
B)
C)
D)
- Variable and constant cannot contain
A) Period
B)
C)
D)
- Which is used for making two way decision.
A) If-then-else
B)
C)
D)
Inter (Part-II) Rawalpindi Board 2012
Computer
Part II (Subjective)
Time Allowed: 3.10 Hours
Max. Marks: 83
SECTION-I
MS-ACCESS
2. Attempt any EIGHT short questions.
- Define field with an example.
- Write the names of different types of file organization.
- What is primary key?
- Define relation.
- Explain centralized data distribution strategy.
- Define redundancy.
- What is MS-Access?
- Describe columnar Form.
- Write names of two table views available in MS-Access.
C-Language
3. Attempt any EIGHT short questions.
- What is the concept of header file?
- Differentiate between syntax error and logical error.
- What is interpreter?
- Define the term "Range".
- What is an expression?
- Describe assignment statement.
- Trace the output of the following.
void main(){
int m,n;
m=10;
n=10;
m=m+15;
n=m*5;
printf("m=%d\t\tn = %d",m,n);
getch();}
- Trace the error in the program.
void main(){
p=3.141593;
int x,y;
x=14;
y==40;
z=x+y;
printf("Result=",z);
getch();}
- What is the purpose of ampersand (&) operator in scant ( ) function?
4. Attempt any SIX short questions.
- List two uses of loop.
- Define while ( ) loop structure. Write down its syntax.
- Trace the error in the following.
void main();{
int A,B,C;
A=B=C=50
if(A>150) Then
printf("Large Number)
getch();
}
- Trace the output of the programme.
void main(){
for(a=1 ; a<=5 ; a++){
for(b=1 ; b<=a ; b++){
printf(" *");}
printf("\n");}
getch();
}
- What happens if break statement is missing in case bock of Switch ( ) Structure?
- What is conditional Operator? Write down its syntax?
- What is meant by text stream?
- What is function?
- Define actual parameter in the function.
OR Visual Basic
3. Attempt any EIGHT short questions.
- What is an Algorithm?
- Define procedural language.
- What is integrated development environment?
- What is code window?
- Define object and property.
- List out some popular visual programming tools.
- Differentiate between objects and properties.
- What is visual Basic Event? Give an example.
- Explain the concept of visual programming.
4. Attempt any SIX short questions.
- What is assignment operator?
- Explain the difference between + and &?
- What are counter controlled loops?
- Explain sequential structure?
- What is concatenation operator? Explain with an example.
- What is select case structure?
- What is loop? Explain its uses.
- What is the use of GOTO statement?
- Explain for Next Loop with an example.
SECTION-II
MS-Access
Attempt any ONE questions.
Question #5
Briefly explain the database design process with the help of a diagram.
Question #6
Explain any four data types available in MS-Access.
Attempt any two questions either from "C-language" or "Visual Basic"
C-language
Question #7
Write a detailed note on printf ( ) function with the help of examples.
Question #8
Write a program that inputs a number from user and determines whether it is positive, negative or Zero.
Question #9
What is loop? Define and explain nested loop with an example.
Visual Basic
Question #7
Write a detailed note on input Box and msgBox with the help of examples.
Question #8
Write a program in visual basic that inputs a number from user and determines whether it is positive negative or Zero.
Question #9
What is loop? Define and explain the concept of nested loop with an example.