0% found this document useful (0 votes)
109 views45 pages

Here

Uploaded by

aamirshahzad3321
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)
109 views45 pages

Here

Uploaded by

aamirshahzad3321
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/ 45

Multiple Choice Questions (MCQs)

Question 1: What is a set of related items in a table called?

 a) Form
 b) Record
 c) Field
 d) Query

Question 2: Which phase considers all hardware costs?

 a) Project planning
 b) Requirement analysis
 c) Data analysis
 d) Feasibility study

Question 3: A functional dependency is a relationship between:

 a) Attributes
 b) Entities
 c) Rows
 d) Relations

Question 4: Which of the following is a wildcard character?

 a) &
 b) #
 c) $
 d) *

Question 5: A row of a relation is also known as:

 a) Attribute
 b) Entity
 c) Tuple
 d) Field

Question 6: The most commonly used database model is:

 a) Hierarchical
 b) Network
 c) Object-oriented
 d) Relational

Question 7: Computer decision-making is also known as:

 a) Sequence
 b) Selection
 c) Repetition
 d) Iteration

Question 8: Built-in functions are also called:

 a) User-defined functions
 b) Library functions
 c) Custom-made functions
 d) Customized functions

Question 9: Which loop statement includes a terminator as part of its syntax?

 a) for
 b) do-while
 c) nested loop
 d) while

Question 10: Which format specifier is used for strings?

 a) %d
 b) %f
 c) %c
 d) %s

Question 11: The process of identifying and removing errors in a program is called:

 a) Debugging
 b) Fixing
 c) Updating
 d) Modifying

Question 12: How many keywords are there in C?

 a) 32
 b) 34
 c) 36
 d) 38

Question 13: Which function is used to copy a string to an array of characters?

 a) Strcpy
 b) Strpcy
 c) Strncpy
 d) Copy

Question 14: What is the output of %4.2f for the value 0.78962?

 a) 0.78
 b) 0.79
 c) 000.78
 d) 0.7896

Question 15: If x = 2 and y = 3, what is the value of x + y?


 a) 2
 b) 3
 c) 4
 d) 5

1. Each set of related items in a table is called: a. Form b. Record c. Field d. Query

2. All the hardware costs are considering during: a. Project planning b. Requirement analysis c. Data analysis
d. Feasibility study

3. A functional dependency is a relationship between two: a. Attributes b. Entities c. Rows d. Relations

4. An example of wildcard character is: a. & b. # c. $ d. *

5. A row of relation is also called: a. Attribute b. Entity c. Tuple d. Field

6. The most commonly used database model in current database development is: a. Hierarchical b. Network
c. Object-oriented d. Relational

7. Another term for computer making a decision is: a. Sequence b. Selection c. Repetition d. Iteration

8. Another name for built-in function is: a. User-defined function b. Library function c. Custom made function
d. Customized function

9. In which loop statement, terminator is part of its syntax: a. for b. do-while c. nested loop d. while

10. Following format specifier used for string: a. %d b. %f c. %c d. %s

11. The process of identifying and removing errors in program is called: a. Debugging b. Fixing c. Updating
d. Modifying

12. The total number of keywords in C is: a. 32 b. 34 c. 36 d. 38

13. The following function is used to copy a string to an array of characters: a. Strcpy b. Strpcy c. Strncpy d.
Copy

14. Format specifier %4.2f for value .78962, will produce output: a. 0.78 b. 0.79 c. 000.78 d. 0.7896

15. If x = 2 and y = 3, what will the output of the following expression? a. 2 b. 3 c. 4 d. 5

Section I (MS-Access)

Q.2. Attempt any six parts.

1. Define file or dataset.

2. Discuss the role of fixed length field.

3. What are the responsibilities of DBA?


4. Briefly describe one-to-one relationship.

5. Define hybrid data distribution strategy.

6. What are anomalies?

7. Enlist four different layouts of form.

8. Define design view.

9. Briefly describe the role of queries in MS-Access.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Define keyword with example.

2. What is controls string in printf function?

3. Write following statement in C language code: Speed not greater than 60

4. Predict the output of the following code:

C
int n = 15;
printf("%d", n % m);
5. Find errors in the following code:
C
Float avg;
printf("Enter a number: ");
scanf("%f", avg);
Use code with caution.

6. Find errors in the following code:

C
void main();
float n1 = 4.5, n2 = 2.1;
printf("%f, %f", n1, n2);

7. Write name of any four file opening modes.

8. Define stream.

9. Predict output of the following code:

printf("Hello \n Pakistan \n");


printf("123 \t Over!");

Q.4. Attempt any six parts.

1. Write the syntax of nested if statement.


2. Differentiate between for loop and while loop.

3. Predict the output of the following code segment and draw flowchart:

char g;
if (g == 'M')
printf("Male ");
else
printf("Female ");

4. Convert the following while loop into for loop:

int i = 5;
while (i <= 10) {
printf("%d \n", i);
i++;
}

5. Predict the output of following code segment.

int x = 1;
while (x++ <= 5) {
printf("%d \n", x);
}

6. Write two important points to use function in C-language program.

7. Differentiate scope of local and global variable.

8. What are two types of function arguments?

9. What is the purpose of void used in the following function declaration?

C
void counter(void);
Use code with caution.

Section II (Each question carries 08 marks)

Q.5. What is normalization? Explain first normal form.

Q.6. Explain any four data types available in MS-Access.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. Differentiate between data and information.

2. Consider the following figure and indicate the Field names and records:

RNo Name Class ID Dep ID


1 Asif Ali 10 4
2 Ayesha 11 4
3 Saleem 11 1

3. Write two responsibilities of database administrator.

4. How will you determine whether database development is feasible for an organization or not?

5. Write two differences between cardinality and modality of relationship.

6. Why it is important to normalize the relation before you use it for storing data?

7. What is purpose of INDEX.

8. Differentiate between ‘design view’ and ‘datasheet view’ of table.

9. Write purpose of validation input mask property.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Define string constant. Give an example.

2. Write equivalent statement in C language for the following:

s = ut + 1/2at^2

3. Predict output of the following code segment.

C
int x = 7;
int y = 3;
printf("%d", x % y);
Use code with caution.

4. Find errors in the following code.

C
int x = 7;
void main() {
printf("%d", c);
}
Use code with caution.

5. Compare getch() and getche().

6. Find output of the following code segment.

C
void main() {
printf("How \tare \t you");
printf("\n Bye");
}
Use code with caution.

7. Find errors in the following code segment.

C
void main() {
int x = 5;
int y = x + y;
printf("%d", sum);
}
Use code with caution.

8. How file is opened in C language.

9. Define file pointer.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section III (Each question carries 08 marks)

C-LANGUAGE

Note: Attempt any two of the following questions.

Q.7. Briefly describe characteristics of high-level programming language.

Q.8. Write a program in C-language that inputs a character and displays whether it is vowel or consonant.
Q.9. Write a program that produces the following output using loop:

Number Square Root


0 0.00
1 1.00
2 1.41
3 1.73
4 2.00
5 2.24

Rawalpindi Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. In an ER diagram, the rectangle represents: a. Attribute b. Entity c. Relationship d. Record

2. In 3NF, a non-key attribute must not depend on: a. Key attribute b. Composite attribute c. Primary attribute
d. Non-key attribute

3. The output of the query is in the form of: a. Object b. Table c. Report d. Table

4. In MS-Access, text type allows maximum number of characters up to: a. 255 b. 256 c. 260 d. 266

5. Select a data model which is more flexible among others: a. Network data model b. Hierarchical model c.
Logical data model d. Relational data model

6. In a table, each primary key should be: a. Unique b. Summarized c. Non-unique d. Null

7. Format specifier %3f for value -0.005, will produce output: a. 0.005 b. -005 c. -.005 d. -0.005

8. Select a statement which is used for making two-way decision: a. switch b. if-else c. if d. nested if

9. Consider x = 12 and y = 13, the output of the expression x > y ? x+y : x-y will be: a. -1 b. 1 c. 25 d. 15

10. Select the loop in which condition is written before the body of the loop: a. do-while loop b. wend loop c.
Infinite loop d. while loop

11. Local variables are created in: a. Hard disk b. ROM c. RAM d. Cache

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.4. Attempt any six parts.

1. Why you should use a default label in switch statement?

2. Determine output of the following code segment:

C
int x = 1, y, z;
if ((x == y) || (y == z) || (z == x))
printf("Yes");
else
printf("No");
Use code with caution.

3. Write syntax of do-while loop.

4. Convert the following code into while loop.

C
void main() {
for (i = 1; i <= 10; i++) {
printf("Pakistan");
}
}
Use code with caution.

5. Determine output of the following code.

C
int i, p = 1;
for (i = 1; i < 6; i += 1) {
p *= i;
printf("%d", p);
}
Use code with caution.

6. Differentiate between actual and formal parameter.

7. What is scope of local variable?

8. What is function definition?

Section II (Each question carries 08 marks)

Q.5. What are database anomalies? Briefly discuss insertion, deletion and modification anomalies.

Q.6. Explain any four data types available in MS-Access.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.


Q.7. Describe characteristics of high level programming languages.

Q.8. Write a program in C language which takes three numbers as input from user and display the
smallest number by using logical operators.

Q.9. Write a program that displays first five numbers and their sum using while loop.

Multan Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. Customers, cars are examples of: a. Entity b. Attribute c. Relationship d. Cardinals

2. The columns of a table correspond to: a. Table b. Record c. Field d. Cell

3. In 3NF, a non-key attribute must not depend on: a. Non-key attribute b. Key attribute c. Composite
attribute d. Sort key

4. In a relational database, a single piece of information is called: a. Table b. Record c. Entity d. Attribute

5. A collection of related field is called: a. Character b. Record c. Database d. File

6. CREATE command is used to create: a. Record b. View c. Report d. Query

7. The function that is used to display output on screen is called: a. printf b. scanf c. pow d. display

8. For loop:

C
for (i = 1; i < 6; i += 1) {
p *= i;
printf("%d", p);
}
Use code with caution.

9. Series

10. Customers, cars are examples of:

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is main purpose of database system?

2. Define foreign key.

3. How many fields and records does the following table contains?

Roll No Name Subject Class 1 x++; 2 Zia Math 1 3 x++;

4. What is primary objective of ER diagram?

5. Differentiate between entity class and entity instance.

6. Define partial dependency.

7. What is purpose of wizard?

8. Write the use of wild cards.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Why comments are used in program?

2. Write the given expression in C-Language:

a = 2b^2c^3

3. Find the errors in the following code:

C
Integer x, y;
Use code with caution.

4. Determine the output of the following code.

C
int x = 10, y = 20.5;
Use code with caution.

5. What is control string in printf() function?

6. Find errors in the following code segment:

C
void main() {
printf("OK");
}
Use code with caution.

7. What will be the output of the following code?

C
printf("%d", x++);
printf("Hello \n Dear");
Use code with caution.

8. Define text stream.

9. What does "A+" mean in file handling?

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.4. Attempt any six parts.

1. Why break statement is used in switch statement?

2. Trace output of the following code segment:

C
int p = 3, q = 5;
if ((p > q) || (p <= -4)) {
p = p + 1;
} else {
p = p - 1;
}
printf("%d", p);
Use code with caution.

3. Define infinite loop.

4. Convert the following code into while loop:

C
void main(void) {
int a, k = 1;
for (a = 1; a < 10; a++) {
printf("%d", k + a);
}
}
Use code with caution.

5. Predict output:

C
a = 3;
for (i = 5; i > 0; i--) {
a = a + k;
printf("%d\n", a);
}
Use code with caution.

6. What is life time of local variable?

7. Why return statement is used in function?

8. How is a function activated?

9. What is the use of formal parameters?

Section II (Each question carries 08 marks)

Q.5. What are database anomalies? Discuss different anomalies in database.

Q.6. Explain any four types of queries in MS-Access.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. Define bugs. Explain different types of errors in C-program.

Q.8. Write a program that inputs an integer and determines whether it is positive, negative or zero.

Q.9. Write a program that displays odd number from 3 to 15 using any loop.

Sargodha Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. Which of the following may be a temporary file? a. Transaction b. Master c. Backup d. Basic

2. The number of characters in variable-length field are: a. Fixed b. 2 c. Constant d. Variable

3. Customers, cars and parts are examples of: a. Attribute b. Relationships c. Entity d. Cardinality

4. A relation that is in 2NF and contains no transitive dependency is said to be in: a. 1NF b. 2NF c. 3NF d.
4NF
5. The smallest meaningful unit of data in a database is called: a. Character b. File c. Record d. Field

6. The number of fields in a relation is called the: a. Degree b. Cardinality c. Domain d. Range

7. stdio stands for: a. Simple input output b. Standard input output c. Symbolic input output d. String input
output

8. Which of the following may be a temporary file?

9. The number of characters in variable-length field are:

10. Customers, cars and parts are examples of:

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. Define data file with example.

2. Identify primary key and foreign key from the following table structure:

Roll No Name Subject Marks 1 x++; 2 Zia Math 1 3 x++;

3. What is meant by user processing requirement?

4. Write the purpose of feasibility study?

5. Why is normalization used?

6. Which database objects can be used to create a report?

7. Define referential integrity?

8. Differentiate between Form and Report?

Section I (C-Language)
Q.3. Attempt any six parts.

1. What is variable initialization?

2. Write down equivalent C statement for: (a-b)2

3. Find errors in the following code segment:

C
int x=10+20;
scanf("%d", x);
Use code with caution.

4. What is output of the following code segment?

C
int x=2, y=3, z;
z=(x+5)/(y+5);
printf("%d", x+y+z);
Use code with caution.

5. Differentiate between getch() and getche()

6. What is the output of the following code segment?

C
char ch1='A', ch2='B';
ch1=ch2; ch2=ch1;
printf("%c%c", ch1, ch2);
Use code with caution.

7. Find the errors in the following code segments:

C
int L=10, W=5, Area;
L*W=Area;
printf("Area-%d", Area);
Use code with caution.

8. Differentiate between text stream and binary stream.

9. What is an EOF?

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.4. Attempt any six parts.

1. Define control structure.

2. Determine the output:

C
int a=1, b=5;
if ((a+b)<6)
printf("Result %d", b);
else
printf("Answer-%d", a+b);
Use code with caution.

3. What is sentinel value?

4. Write the output of the following code:

C
k=0;
while(k<=5) {
printf("%3d%3d\n", k, 10-k);
k++;
}
Use code with caution.

5. Convert the following code by using for loop:

C
while (count <=10) {
printf("%d \n", count);
count++;
}
Use code with caution.

6. Describe unstructured programming.

7. What is function header?

8. Define actual parameters.

9. Write any two benefits of user defined functions.

Section II (Each question carries 08 marks)

Q.5. Define DBMS. Explain different features of a DBMS.

Q.6. Explain different data types available in MS-Access.


Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. Briefly describe the basic structure of C program.

Q.8. Write a program that inputs temperature and displays a message according to the following data:

Temperature Message Greater than 40 Hot day Between 25 and 40 (inclusive) Pleasant day Less than 25 Cool
day

Q.9. Write a program in C language that display numbers from 1 to 20 and also compute and display their
sum and average by using loop.

Faisalabad Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. Organizing the database in computer storage is done in: a. Logical design b. Physical design c. Analysis d.
Implementation

2. An attribute is also known as: a. Record b. Row c. Relation d. Field

3. Storage and retrieval of data is related to: a. Data capturing b. Data manipulation c. Managing output results
d. Data sorting

4. The format specifier %f is used for: a. Integer b. Character c. Float d. String

5. Which of the following is a valid character constant: a. 'a' b. "abc" c. 'abc' d. 'a+b'

6. What will be the value of a after executing the following statement?

C
a = 5 * ++b;
Use code with caution.

a. 3000 b. 3000 c. 2000 d. 5500

7. A loop within a loop is called a: a. Break b. Complex statement c. Nested d. Switch

8. Which of the following is not a selection statement: a. if b. if-else c. else d. switch

9. On successfully closing a file, the fclose() returns: a. -1 b. 0 c. 1 d. 2

10. A program that combines object program with additional object files is: a. Linker b. Loader c.
Preprocessor d. Interpreter

11. Select a format specifier that displays character on screen: a. %d b. %f c. %c d. %s

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.
convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is data dictionary?

2. If you have a relation STUDENT in your database, such that STUDENT (Col1, Col2, Col3, Col4, Col5),
create a view on first and last attribute of STUDENT.

3. What is a database administrator?

4. What is a recursive relationship? Give an example.

5. Write any two disadvantages of "Centralized" data distribution strategy.

6. Define transitive dependency.

7. What is redundancy?

8. What is the main purpose of wildcards?

9. Differentiate between check boxes and radio buttons.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Define variable.

2. What is an array?

3. Find any two errors:

C
a=10,
b=40,
printí ("Sum", a*b)
Use code with caution.

4. Find any two errors:


C
Void main();
float i=15.6;
printf ("%d", i);
Use code with caution.

5. What is meant by format string?

6. Write down equivalent C statement for: (a-b)^2

7. Predict the output of the following code segment:

C
int x=10+20;
scanf("%d", x);
Use code with caution.

8. Differentiate between getch() and getche()

9. What is the output of the following code segment?

C
char ch1='A', ch2='B';
ch1=ch2; ch2=ch1;
printf("%c%c", ch1, ch2);
Use code with caution.

10. Find the errors in the following code segments:

C
int L=10, W=5, Area;
L*W=Area;
printf("Area-%d", Area);
Use code with caution.

11. Differentiate between text stream and binary stream.

12. What is an EOF?

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:
Section I (MS-Access)

Q.4. Attempt any six parts.

1. Define control structure.

2. Trace the output of the following code segment:

C
int p = 3, q = 5;
if ((p > q) || (p <= -4)) {
p = p + 1;
} else {
p = p - 1;
}
printf("%d", p);
Use code with caution.

3. Define infinite loop.

4. Convert the following code into while loop:

C
void main(void) {
int a, k = 1;
for (a = 1; a < 10; a++) {
printf("%d", k + a);
}
}
Use code with caution.

5. Predict output:

C
a = 3;
for (i = 5; i > 0; i--) {
a = a + k;
printf("%d\n", a);
}
Use code with caution.

6. Describe End-of-File (EOF).

7. Write the output of the following code:

C
int a = 3, b = 2;
printf("Result = %d", a % b);
Use code with caution.

8. Write the statement in C-language: Marks are between 40 and 60.

9. Predict output of the following code segment:

C
int i = 5;
do {
printf("PAKISTAN ");
} while (i > 0);
Use code with caution.

Section II (Each question carries 08 marks)

Q.5. Briefly describe four disadvantages of database systems.

Q.6. What is query? Discuss its uses and advantages.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. What is basic structure of C program? Explain its different parts briefly.

Q.8. Write a program in C language that inputs marks of student and display his grade according to given
criteria.

Marks Grade

=90 A 80-89 B 70-79 C 60-69 D 40-59 E <40 F

Q.9. Write a program that displays first five numbers with their cubes using loop.

Output:

1 8 27 64 125

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Gujranwala Board (Annual Examination Group 1, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15


1. An entity related to itself in an ERD model refers to relationship: a. Recursive b. One to many c. Many to
many d. One to one

2. The graphical query tool is known as: a. Query grid b. Design grid c. Query form d. Design form

3. A virtual table that is constructed from other tables is called: a. Table b. Tuple c. Relation d. View

4. The data that causes inconsistency lacks: a. Good data b. Data integrity c. Data redundancy d. Data anomaly

5. Referential integrity is applied on: a. Primary key b. Foreign key c. Sort key d. Composite key

6. If x=2, y=3, the expression x+y/x*y will display output as: a. 5 b. 10 c. 1 d. 2

7. The keyword "break" cannot be used in: a. do while b. for c. while d. switch

8. The programmer can debug a source code using: a. Compiler b. Interpreter c. Debugger d. Linker

9. Memory is allocated to a local variable at the time of its: a. Declaration b. Destruction c. First reference d.
Definition

10. Escape sequence used to insert a Tab in C-Language is: a. \t b. \n c. \b d. \r

11. Character conversion may occur in: a. Input stream b. Binary stream c. Output stream d. Input stream

12. Format specifier %8.3f for the value 4.1257, will produce the output: a. 4.125 b. 4.126 c. 04.126 d.
04.125

13. Conditional operator is an alternative of: a. if b. if-else c. switch d. for

14. The data type in C-language that can handle fractional values, is called: a. long b. char c. float d. int

Section I (MS-Access)

Q.2. Attempt any six parts.

1. Write down two advantages of database systems.

2. In which condition, you need to create a composite key in a relation? Justify your answer.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is foreign key?

2. Differentiate between relation and relationship.

3. What is the main purpose of "Partitioned" data distribution strategy?

4. What is meant by "atomic values"?

5. What is database wizard?

6. Why are we using Input Masks?

7. Differentiate between ListBox and ComboBox.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Define variable initialization.

2. Write down the following statement in C-language: "Age is between 18 years and 50 years"

3. Find any two errors:

C
integer x, y;
z=x+y;
printf("z=%d",z)
Use code with caution.

4. Find output:

C
a=5;
b=10;
printf("Result = %d", a+b);
Use code with caution.

5. What is meant by & in scanf function?

6. Find any two errors:

C
void main();
int a=10;
printf("m Fort/F231988');
Use code with caution.
7. Describe the purpose of '\0' in strings.

8. What is stream?

Q.4. Attempt any six parts.

1. Why break statement is used in switch statement?

2. Predict output of the following code segment:

C
int a=10, b=5;
printf("Punjab");
Use code with caution.

3. Define nested loop. How does it work?

4. Convert the following code into while loop:

C
for(i=1; i<=5; i++)
printf("In Pakistan");
Use code with caution.

5. Predict output of the following code segment:

C
int n;
for(n=10;n>-10;n++)
printf("%d",n);
Use code with caution.

6. Define function.

7. How is a function activated?

8. Write down the use of formal parameters.

9. Write down two importance's of functions.

Section II (Each question carries 08 marks)

Q.5. Briefly describe four major components of database system.

Q.6. Explain different types of queries.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. What are errors? Discuss different types of errors which may occur in C-Language program.

Q.8. Write a program in C-Language that inputs a year and finds whether it a leap year or not using if-else
structure.
Q.9. Write a program that displays first five odd numbers and their average using loop.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is foreign key?

2. Differentiate between relation and relationship.

3. What is the main purpose of "Partitioned" data distribution strategy?

4. What is meant by "atomic values"?

5. What is database wizard?

6. Why are we using Input Masks?

7. Differentiate between ListBox and ComboBox.

Section I (C-Language)

Q.3. Attempt any six parts.

1. Define variable initialization.

2. Write down the following statement in C-language: "Age is between 18 years and 50 years"

3. Find any two errors:

C
integer x, y,
z=x+y;
printf("z=%d",z)
Use code with caution.

4. Find output:
C
a=5;
b=10;
printf("Result = %d", a+b);
Use code with caution.

5. What is meant by & in scanf function?

6. Find any two errors:

C
void main();
int a=10;
printf("m Fort/F231988');
Use code with caution.

7. Describe the purpose of '\0' in strings.

8. What is stream?

Q.4. Attempt any six parts.

1. Why break statement is used in switch statement?

2. Predict output of the following code segment:

C
int a=10, b=5;
printf("Punjab");
Use code with caution.

3. Define nested loop. How does it work?

4. Convert the following code into while loop:

C
for(i=1; i<=5; i++)
printf("In Pakistan");
Use code with caution.

5. Predict output of the following code segment:

C
int n;
for(n=10;n>-10;n++)
printf("%d",n);
Use code with caution.

6. Define function.

7. How is a function activated?

8. Write down the use of formal parameters.

9. Write down two importance's of functions.


Section II (Each question carries 08 marks)

Q.5. Briefly describe four major components of database system.

Q.6. Explain different types of queries.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. What are errors? Discuss different types of errors which may occur in C-Language program.

Q.8. Write a program in C-Language that inputs a year and finds whether it a leap year or not using if-else
structure.

Q.9. Write a program that displays first five odd numbers and their average using loop.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is foreign key?

2. Differentiate between relation and relationship.

3. What is the main purpose of "Partitioned" data distribution strategy?

4. What is meant by "atomic values"?

5. What is database wizard?

6. Why are we using Input Masks?

7. Differentiate between ListBox and ComboBox.

Section I (C-Language)
Q.3. Attempt any six parts.

1. Define variable initialization.

2. Write down the following statement in C-language: "Age is between 18 years and 50 years"

3. Find any two errors:

C
integer x, y;
z=x+y;
printf("z=%d",z)
Use code with caution.

4. Find output:

C
a=5;
b=10;
printf("Result = %d", a+b);
Use code with caution.

5. What is meant by & in scanf function?

6. Find any two errors:

C
void main();
int a=10;
printf("m Fort/F231988');
Use code with caution.

7. Describe the purpose of '\0' in strings.

8. What is stream?

Q.4. Attempt any six parts.

1. Why break statement is used in switch statement?

2. Predict output of the following code segment:

C
int a=10, b=5;
printf("Punjab");
Use code with caution.

3. Define nested loop. How does it work?

4. Convert the following code into while loop:

C
for(i=1; i<=5; i++)
printf("In Pakistan");
Use code with caution.
5. Predict output of the following code segment:

C
int n;
for(n=10;n>-10;n++)
printf("%d",n);
Use code with caution.

6. Define function.

7. How is a function activated?

8. Write down the use of formal parameters.

9. Write down two importance's of functions.

Section II (Each question carries 08 marks)

Q.5. Briefly describe four major components of database system.

Q.6. Explain different types of queries.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. What are errors? Discuss different types of errors which may occur in C-Language program.

Q.8. Write a program in C-Language that inputs a year and finds whether it a leap year or not using if-else
structure.

Q.9. Write a program that displays first five odd numbers and their average using loop.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Gujranwala Board (Annual Examination Group II, 2024)

OBJECTIVE
Time: 20 Minutes Marks: 15

1. In an ER diagram, rectangle represents: a. Entity b. Relationship c. Attribute d. Action

2. Default field size of text type field in MS Access: a. 20 b. 30 c. 40 d. 50

3. The columns of a table correspond to: a. Cell b. Table c. Record d. Field

4. Which of the following data model is more flexible: a. Network data model b. Relational data model c.
Hierarchical data model d. Basic data model

5. In relational database, a table is also called: a. Tuple b. Relation c. Schema d. Instance

6. The smallest meaningful unit of data in a database is called: a. Field b. Character c. Byte d. Word

7. If a=70, what will be the output of the following expression? n=(a>=80)?20:10: a. 5 b. 10 c. 20 d. 1

8. The name of header file is written between: a. [] b. () c. <> d. <<>>

9. The name of header file is written between: a. [] b. () c. <> d. <<>>

10. Local variables are also called: a. Automatic variables b. Normal variables c. Global variables d. Basic
variables

11. A file is stored in: a. RAM b. Hard disk c. ROM d. Cache

12. Escape sequence used for backspace in C-Language is: a. \t b. \n c. \b d. \r

13. Format specifier %8.2f for value 4.12157, will produce output: a. 4.12 b. 04.12 c. 004.12 d. 05.121

14. The case block ends with: a. End Case b. break c. Case else d. default

15. Single line comment start with: a. // b. /* c. //* d. **

Section-I (MS-ACCESS)

Q.2 Attempt any six parts.

1. Define the term database.

2. Discuss the advantage of variable length field over fixed length field.

3. What is the role of end user in database system?

4. Briefly describe the concept of cardinality.

5. Define centralized data distribution strategy.

6. What is synonym problem in database?

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.
convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.3. Attempt any six parts.

1. What is meant by initializing a variable?

2. Write the following statement in C-Language code: Temp between 15 and 32 inclusive

3. Write errors in the following code:

C
int m = 10.3;
int y = 5;
printf("%d %d", m, y);
Use code with caution.

4. Predict output of the following code segment:

C
int x = 5, y = 10;
x = x + y;
y = y - x;
printf("%d %d", x, y);
Use code with caution.

5. Why is ampersand (&) used in scanf function?

6. Find errors in the following code:

C
#include< studio.h>
int n = 512, b;

void main() {
int a = 10;
printf("%d", a);
}
Use code with caution.

7. Define binary stream.

8. Write usage of file pointer.


Q.4. Attempt any six parts.

1. Give examples of two control structures.

2. Predict the output of the code:

C
for(int i = 1; i <= 5; i++) {
printf("Pass");
}
Use code with caution.

3. Differentiate between do-while and while loop.

4. Convert the following for loop into while loop:

C
for(int i = 1; i <= 5; i++) {
printf("%d\n", i);
}
Use code with caution.

5. Give output of the following code.

C
for(int x = 1; x <= 5; x++) {
printf("%d\n", x);
}
Use code with caution.

6. Give any two advantages of using a user-defined function in C-Language program.

7. What is the purpose of function header and function prototype?

Section II (Each question carries 08 marks)

MS-Access

Attempt any one question from the following.

Q.5. Define database model. Explain hierarchical model along with example.

Q.6. Define view. What are two table views available in MS-Access? How can you switch between them?

Section III (Each question carries 08 marks)

C-Language

Note: Attempt any two of the following questions.

Q.7. How would you create, edit, execute a program in C-Language? Discuss briefly.

Q.8. Write a program in C-language that inputs numbers and finds the smallest number.
Q.9. Write a program in C-language that calculates the sum of the following series using loop:

1.0 + 1.5 + 2.0 + 2.5 + 3.0 + ... + 10.0

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

DG Khan Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. A collection of rows and fields is called: a. Character b. File c. Database d. Record

2. Which of the following is not a type of database key? a. Primary b. Foreign c. Entity d. Secondary

3. The full form of the query is: a. Quick Entry b. Quick Form c. Query d. Perfect

4. A relation that is in 2NF and contains no transitive dependency is said to be in: a. 1NF b. 2NF c. 3NF d.
4NF

5. How many table views are available in Microsoft Access? a. 1 b. 2 c. 3 d. 4

6. The product of user system interaction is known as: a. Input b. Output c. Language d. Data

7. If a=5, then the following statement printf("%d", a++) will display: a. 4 b. 5 c. 6 d. 4

8. All of the following are control statements except: a. Sequential b. Repetition c. Selection d. Float

9. The first line of function definition is known as: a. Function body b. Function header c. Function call d.
Function case

10. If int a=5, then the statement printf("%d", a/10) will display: a. 0 b. 0.5 c. 5 d. 5

11. What will be the value of b after executing the following statement? b=(5<10)?25:10; a. 10 b. 5 c. 25 d.
15

12. The data type that should be used to store decimal numbers is: a. int b. char c. float d. string
Section I (MS-Access)

Q.2. Attempt any six parts.

1. Define record with example.

2. How many attributes and records are contained in the following relation?

Stud. No Stud. Name Gender DOB


641 Ali Male 12/01/2005
642 Taha Male 29/05/2007

3. What is Alternate key?

4. If "A" is Primary key, "B" is Alternate key, "C" is Foreign key, "D" is Composite key, then which
attribute is known as Alternate key?

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. What is the purpose of database design process?

2. Why are sub forms used?

3. What is the use of input mask?

4. What is MS-Access?

Section I (C-Language)

Q.3. Attempt any six parts.

1. What are standard identifiers?

2. Convert the expression A PiR in C-language expression.


3. If x = 2, give output of following statement:

C
printf ("%d", ++x);
printf ("\n%d ", x++);
Use code with caution.

4. Write syntax of printf() function.

5. Indicate the errors in following code:

C
int main (void) {
int x = 32;
int y = 4;
printf("%d and %d is %d", x, y, x% y);
}
Use code with caution.

6. Indicate errors in the following code:

C
int x,y
x+++;
printf ("%d", x+y);
Use code with caution.

7. Define a stream in C-Language.

8. Differentiate between "r" and "w+" modes in C-Language.

Q.4. Attempt any six parts.

1. How are instructions executed in sequential structure?

2. Predict output of the following code:

C
int price = 19;
if (price != 10)
printf("Price ");
Use code with caution.

3. Define loop.

4. Convert the following do-while loop into for loop:

C
int c=2;
do {
printf(c);
c++;
} while(c<-5);
Use code with caution.

5. Predict output of the following code.


C
int x = 5, y = 3;
do {
x=x*2;
y=y+2;
} while (y < 10);
printf("%d", x);
Use code with caution.

6. How long the global variable exists in the memory?

7. Compare local and global variable.

8. List any two benefits of using functions.

9. Define function body.

Section II (Each question carries 08 marks)

MS-ACCESS

Attempt any one question from the following.

Q.5. What are database anomalies? Discuss its three types.

Q.6. Explain any four data types available in MS-Access.

Section III (C-LANGUAGE)

Note: Attempt any two of the following questions.

Q.7. What is programming language? Discuss two main categories of programming languages.

Q.8. Write a program that displays first five odd numbers and their average using loop.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Sahiwal Board (Annual Examination, 2024)

OBJECTIVE
Time: 20 Minutes Marks: 15

1. A key strictly used for data retrieval purposes: a. Super key b. Candidate key c. Sort key d. Primary key

2. Type of file that requires largest processing time: a. Sequential b. Random c. Index sequential d. Direct
Access

3. The number of fields in a relation is called: a. Cardinality b. Degree c. Range d. Domain

4. Identifies the database application, name, you are running in MS Access: a. Title bar b. Menu bar c.
Toolbar d. Scroll bar

5. When same name is used for two different attributes: a. Synonyms b. Homonyms c. Information d.
Acronyms

6. In an ER diagram, a diamond represents: a. Entity b. Attribute c. Relationship d. Field

7. Which of the given is not a control statement? a. while b. if-else c. for d. switch

8. If x = 10, what will be the value of x++? a. 10 b. 11 c. 9 d. 0

9. One execution of a loop is known as: a. Pass b. Iteration c. Test d. Pointer

10. The first line of function definition is: a. Function header b. Function body c. Arguments d. Prototypes

11. Function specifier %3.2f will display value 3.14159 as: a. 3.14 b. 3.140 c. 3.141 d. 3.142

12. In Alt+F5, which key is used to compile a program? a. Alt+F2 b. Alt+F9 c. Ctrl+F9 d. Alt+F3

13. If x is an integer variable, x = 5 % 2 will return a value: a. 0 b. 1 c. 2 d. 5

14. The ASCII code for ‘A’ is: a. 65 b. 65 c. 97 d. 99

Section-I (MS-ACCESS)

Q.2 Attempt any six parts.

1. Differentiate between data and information.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts
Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section I (MS-Access)

Q.2. Attempt any six parts.

1. Identify the primary key and total number of attributes in the following table:

RollNo Name Address PhoneNo Registration No


01 Shahid Lahore 123456 101-Reg-2023
02 Umair Lahore 45627 102-Reg-2023
Export to Sheets

2. How are views created?

3. Differentiate between cardinality and modality.

4. List four data distribution strategy.

5. Define partial dependency.

6. List any four facilities provided by RDBMS.

7. Define filter.

8. Distinguish between checkbox and radio button.

Section I (C-Language)

Q.3. Attempt any six parts.

1. What do you know about keywords?

2. Convert the following statement into C-language: "Weather is greater than 10 and less than 20"

3. Find errors in the following code:

C
int A, B;
A = 10;
Use code with caution.

4. What is output of the following code?

C
x = 2;
y = 3;
z = 4;
printf("Answer=%d", x + y*z);
Use code with caution.

5. Define getch() function.


6. Find the errors in the following code:

C
Display ("Hello");
Write the output of the following statement.
printf("Blue Painter");
Use code with caution.

7. What is text stream?

8. Define file pointer.

Q.4. Attempt any six parts.

1. What is the use of if-else statement?

2. Predict output of the following code:

C
if (x+y > y+t)
printf("%d", y+t);
else
printf("%d", x+t);
Use code with caution.

3. Write the syntax of for loop.

4. Convert the following into while loop:

C
for(i=1; i<=5; i++)
printf("In Pakistan");
Use code with caution.

5. Predict output of the following code:

C
int n;
for(n=10; n>-10; n++)
printf("%d",n);
Use code with caution.

6. What is meant by scope of a variable?

7. Write the use of return statement.

8. Differentiate between function definition and function declaration

9. What is the use of formal parameters?

Section II (Each question carries 08 marks)

MS-ACCESS

Attempt any one question from the following.


Q.5. What is normalization of relations? Explain with examples 2nd and 3rd normal forms.

Q.6. What is query? Discuss different types of queries.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section III (Each question carries 08 marks)

C-LANGUAGE

Note: Attempt any two of the following questions.

Q.7. Define bug. While writing a program, how many types of bugs can occur? Briefly discuss each of
them.

Q.8. Write down a program that accepts three numbers from the user and displays the largest number.

Q.9. Write down a program in C-Language to display the following series 1 4 9 16 25 using loop structure.

Bahawalpur Board (Annual Examination, 2024)

OBJECTIVE

Time: 20 Minutes Marks: 15

1. How many table views are available in MS-Access: a. 1 b. 2 c. 3 d. 4

2. The output of a query is in the form of: a. Form b. Report c. Table d. Graph

3. The goal of Normalization is to: a. Increase No. of relations b. Reduce Redundancy c. Get stable data
structure d. Remove constraints

4. Which of the following symbol is not used in ER diagram? a. Rectangle b. Oval c. Diamond d. Triangle

5. Which of the following is also known as control key? a. Sort key b. Composite key c. Primary key d.
Candidate key

6. Which of the following database model is often referred to as an Inverted Tree? a. Hierarchical b. Object
oriented c. Relational d. Network
7. If a file is closed by fclose() function properly, then fclose() function return: a. 1 b. 0 c. -1 d. -1

8. The scope of a variable refers to its: a. Accessibility b. Length c. Data type d. Memory

9. A loop whose condition never becomes false is called: a. Infinite loop b. Continuous loop c. Running loop d.
Fast loop

10. Which of the following is not valid cases statement in switch? a. Case-1: b. Case 'A': c. Case 'A': 97?10:20;
d. Case "A":

11. Conditional operator gives the result for 'a' != 'b' is: a. 10 b. 20 c. 30 d. 107

12. Escape sequence for backslash is: a. \t b. \n c. \ d. \r

13. Format specifier used for integer data type is: a. %c b. %d c. %f d. %s

14. Which of the following is not a reserved word? a. Goto b. While c. For d. Float

15. Which places an executable file in memory? a. Compiler b. Linker c. Loader d. Debugger

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:

Section III (Each question carries 08 marks)

C-LANGUAGE

Note: Attempt any two of the following questions.

Q.7. Define bug. While writing a program, how many types of bugs can occur? Briefly discuss each of
them.

Q.8. Write down a program that accepts three numbers from the user and displays the largest number.

Q.9. Write down a program in C-Language to display the following series 1 4 9 16 25 using loop structure.

Bahawalpur Board (Annual Examination, 2024)

OBJECTIVE
Time: 20 Minutes Marks: 15

1. How many table views are available in MS-Access: a. 1 b. 2 c. 3 d. 4

2. The output of a query is in the form of: a. Form b. Report c. Table d. Graph

3. The goal of Normalization is to: a. Increase No. of relations b. Reduce Redundancy c. Get stable data
structure d. Remove constraints

4. Which of the following symbol is not used in ER diagram? a. Rectangle b. Oval c. Diamond d. Triangle

5. Which of the following is also known as control key? a. Sort key b. Composite key c. Primary key d.
Candidate key

6. Which of the following database model is often referred to as an Inverted Tree? a. Hierarchical b. Object
oriented c. Relational d. Network

7. If a file is closed by fclose() function properly, then fclose() function return: a. 1 b. 0 c. -1 d. -1

8. The scope of a variable refers to its: a. Accessibility b. Length c. Data type d. Memory

9. A loop whose condition never becomes false is called: a. Infinite loop b. Continuous loop c. Running loop d.
Fast loop

10. Which of the following is not valid cases statement in switch? a. Case-1: b. Case 'A': c. Case 'A': 97?10:20;
d. Case "A":

11. Conditional operator gives the result for 'a' != 'b' is: a. 10 b. 20 c. 30 d. 107

12. Escape sequence for backslash is: a. \t b. \n c. \ d. \r

13. Format specifier used for integer data type is: a. %c b. %d c. %f d. %s

14. Which of the following is not a reserved word? a. Goto b. While c. For d. Float

15. Which places an executable file in memory? a. Compiler b. Linker c. Loader d. Debugger

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Here's the text extracted from the image, formatted into MCQs and short answer questions:
Section-I (MS-ACCESS)

Q.2 Attempt any six parts.

1. Define Database.

2. From the Information given below, construct a table and find a suitable primary key. PHYSICIAN (Ph
Code, Ph Name, Address, Mobile No, Age)

3. What is an Entity?

4. Describe views in Database.

5. Describe Columnar Reports.

6. Define Functional Dependency.

7. What are Macros in MS Access?

8. Differentiate between Sorting and Filtering.

Section-I (C-LANGUAGE)

Q.3. Attempt any six parts.

1. Define Type Casting and Its Types.

2. Write the following expression in C-language: "Age is between 18 years and 50 years"

3. Find errors In the following Code:

C
int a; b;
a=10
b=5
printf("%d"; a +b);
Use code with caution.

4. Determine output of the following Code

C
int x, y, sum;
x=5, y=10;
sum =x+y;
printf ("Sum-%d", Sum);
Use code with caution.

5. Name four escape character provided by C.

6. Define text stream.

Q.4. Attempt any six parts.

1. Convert the following loop into for loop.


C
while (i<=20)
{
printf("%d", i);
i++;
}
Use code with caution.

2. What is the output of the following code?

C
if (a>1000 && b<5000)
printf("b is larger");
else
printf("a is larger or equal");
Use code with caution.

3. Briefly describe the selection structure.

4. Define the purpose of Goto statement.

5. What is the role of local variable.

6. Define the use of return statement.

7. Differentiate between function definition and function declaration.

8. Discuss the role of function call.

9. What is the use of formal parameters.

Note: The quality of the extracted text might be affected by the image quality and the complexity of the layout.
Some parts of the image were not clear and the text might be incomplete or inaccurate.

convert following image into text if the text in mcqs then extract as mcqs and if in short question form then
extract as short question if long then as long form extract

Opens in a new window


Show drafts

Section-III (Each question carries 08 marks)

C-LANGUAGE

Note: Attempt any two of the following questions.

Q.7. What are Data Types? Discuss different types of data types and their properties.
Q.8. Write a program in C Language that inputs temperature and displays a message according to the
following data:

Temperature Message Greater than 35 Hot Between 25 and 35 (inclusive) Pleasant day Less than 25 Cool day

Q.9. Write a program that inputs a number and finds its factorial.

You might also like