0% found this document useful (0 votes)
14 views1 page

Ics II

Uploaded by

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

Ics II

Uploaded by

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

Govt.

Jinnah Islamia Graduate College, Sialkot


Pre-Board Exam
Intermediate-II Computer Science Time allowed 2:10 hours
Q. 2: Write short answers to any six parts from the following.

i. Define the information and data v. Define transitive dependency?


redundancy? vi. List any two advantages of a report?
ii. List two advantages of file indexing. vii. Define the term degree of relation?
iii. State the purpose of the feasibility viii. Write the use of columnar form?
study.
iv. How is entity integrity attained?
Q. 3: Write short answers to any six parts from the following.

i. Define delimiters. Void main()


ii. What is a statement Terminator? {int a,b,temp;
iii. Describe structured programming? a=10;
iv. What are keywords? b=20;
v. What are identifiers? temp=a;
vi. Find out errors from the following code a=b; b=temp;
{ char ch, ch2; printf("a=%d\tb=%d",a,b);.
Ch1 = 2; viii. Trace errors from the following.
Ch2 = '6': Void main();
} { float | = 15.6;
vii. What will be the output of the following Printf("%d",i);}
code?
Q. 4: Write short answers to any six parts from the following.

i. List any four types of control structures. for(c=0; c<3; c++)


ii. Find output of the following code. x+=c;
int a=1, b=5; printf(“%d”, x);
if(a+b < 7) vi. Rewrite the following code using do
printf("%d",b); while loop
iii. Trace errors from the following code: Int x=10;
if( 7 = ! 10 While(x>1)
print(“hello’); { printf(“%d”, x%2);
iv. Write any 2 uses of loop. x--;}
v. Trace output of the following code vii. How a function is activated?
int x=0, c; viii. Write use of parameters in functions?
ix. Why it is important to close a file?

Section 2
C Language
Note: attempt any 02 questions (08 x 2)

1. How to create a C-Program. Explain with a diagram.


2. Discuss ‘for loop’ in detail.
3. Write a C-Program to convert Celsius to Fahrenheit. (Hint: Celsius * (9 / 5)) + 32).

Database
Note: attempt any 01 questions (08 x 1).

1. Explain the advantages and disadvantages of DBMS.


2. How a form is created in MS-Access by using design view.

You might also like