0% found this document useful (0 votes)
13 views3 pages

Part 2 Computer 2nd Half Book

The document outlines the syllabus and examination format for the Computer subject for Inter Part-II at BISMILLAH Science Academy Sambrial, including maximum marks and time allowed. It contains multiple-choice questions, short answer questions, and programming tasks related to C language and MS Access. The exam focuses on topics such as database management, functions, loops, and file handling.

Uploaded by

toobaghumman578
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

Part 2 Computer 2nd Half Book

The document outlines the syllabus and examination format for the Computer subject for Inter Part-II at BISMILLAH Science Academy Sambrial, including maximum marks and time allowed. It contains multiple-choice questions, short answer questions, and programming tasks related to C language and MS Access. The exam focuses on topics such as database management, functions, loops, and file handling.

Uploaded by

toobaghumman578
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

BISMILLAH Science ACADEMY Sambrial

Address:- Punjab Lyceum School building, opposite Shamas surgical hospital, daska road Sambrial
Syllabus (Unit No) : 4, 5, 6, 7, 12, 13, 14
Class Subject Maximum Marks Time Allowed
2nd Half Book
Inter Part-II Computer Name: 75 2 ½ Hours

Q No 1: Choose the correct answer: (1*15=15)

1. In 3NF, a non-key attribute must not depend on a(n):


(A) non-key attribute (B) key attribute (C) Composite key (D) Sort key
2. Which of the following object of database is used to retrieve data from database?
(A) Queries (B) Forms (C) Reports (D) Tables
3. A record is a complete set of_______ field.
(A) Distinct (B) related (C) Designed (D) All of them
4. Forms are designed for:
(A) Input data (B) Manipulate data (C) Accepting Change (D) All of them
5. A_________ Auto form displays one record at a time.
(A) Tabular (B) Columnar (C) Datasheet (D) Justified
6. A report provides a column for each field of the records in rows under the column header is known as:
(A) Tabular (B) Columnar (C) Datasheet (D) Justified
7. Which statement causes a loop to terminate early?
(A) break (B) terminate (C) exit (D) cancel
8. The loop which never ends is called
(A) Infinite loop (B) running loop (C) continuous loop (D) None of these
9. Which is a loop statement?
(A) If (B) if-else (c) switch (D) None of these
10. A loop within a loop is called:
(A) Complex (B) Simple (C) Nested (D) Infinite
11. Which of the following loop is called counter loop:
(A) for (B) while ;(C) do-while (D) if
12. While loop is also called
(A) Conditional loop (B) complex loop (C) counter loop (D) None
13. Actual arguments are used in:
(A) Function declaration (B) Function prototype (C) Function call (D) Function definition
14. Local variables are also called:
(A) Automatic (B) Normal (C) Global (D) None of these
15. Formal arguments are also called
(A) Actual argument (B) dummy argument (C) original argument (D) None
BISMILLAH Science ACADEMY Sambrial
Address:- Punjab Lyceum School building, opposite Shamas surgical hospital, daska road Sambrial
Syllabus (Unit No) : 4, 5, 6, 7, 12, 13, 14
Class Subject Maximum Marks Time Allowed
2nd Half Book
Inter Part-II Computer Name: 75 2 ½ Hours

Subjective Part
Section 1

Q No 2: Attempt any 6 short questions from the following: (6*2=12)


1) Define binary stream. 5) What is List box?
2) Define Text Stream. 6) What is Combo Box?
3) What is the use of file pointer? 7) What is a Switch Board?
4) Write the prototype of fopen function used for 8) What is MS Access?
opening a file? 9) Why we use report in MS Access?
Q No 3: Attempt any 6 short questions from the following: (6*2=12)
1) Define function? Why is it used in a program? 4) What is a function call?
2) Define function header & function body. 5) How does function return value?
3) What is function definition? 6) What is the use of parameters in functions?
7) Convert the following Code into do – while loop:
int x = 0;
for (x=100; x = = 200; x++)
printf(“%d”, x);
8) Write the output of the following code:
int x = 0;
for (x=100; x = = 200; x++)
printf(“%d”, x);
9) Write the output of the following code:
int n = 5;
while (n>5)
n*=10;
Printf(“%d”, n);
BISMILLAH Science ACADEMY Sambrial
Address:- Punjab Lyceum School building, opposite Shamas surgical hospital, daska road Sambrial
Syllabus (Unit No) : 4, 5, 6, 7, 12, 13, 14
Class Subject Maximum Marks Time Allowed
2nd Half Book
Inter Part-II Computer Name: 75 2 ½ Hours

Q No 4: Attempt any 6 short questions from the following: (6*2=12)

1) Differentiate between actual and formal parameters.


2) Differentiate between a local variable and global variable?
3) Define do-while loop with syntax.
4) What is nested loop? How does it work?
5) Define “break” statement with syntax.
6) Define “continue” statement with syntax.
7) Write the errors in the following code:
int n = 5
while (n>5)
n*=10;
Printf(“%f”, n);
8) Define infinite loop.
9) What is the use of “goto” statement? Write its general form.

Section 2

Note: Attempt any one questions from MS Access and two from the C language.

MS Access (1*8=8)

1. What are Queries? Explain its types.


2. Explain all data types available in MS-Access with example.

C- Language (2*8=16)

1. Write a program that display back counting from 10 to 1 using do while loop.
2. Write a program in C language that displays the following output using nested loop.
*
**
***
****
3. Write a program in C language, that print 1 – 10 Numbers using While loop.

You might also like