Bahawalpur Board 2017
Computer Science
(Objective Type)
Inter (Part-2)
Note: Four possible answers A, B, C and D to each question are given. The choice which you think is correct that circle in front that question with Marker or Pen ink. 'Lining or filling two or more circles 'will result in zero mat k in that question. Write the letter A, B. C or D in the column. (Write correct "option) against each question also. If there k a contradiction in the bubble and hand written answer, bubble option will be considered correct.
- A logical grouping of characters is a:
- Field
- Record
- File
- Database
- A relation is analogous to a:
- Table
- Field
- Record
- Row
- Customers, cars are examples of:
- Entities
- Attributes
- Cardinals
- Relationships
- The smallest meaningful unit of data in a database is called:
- Bye
- Bit
- Character
- Field
- Flow many table views are available in MS-Access?
- 1
- 2
- 3
- 4
- How many are layout o reports:
- 2
- 3
- 4
- 5
C-LANGUAGE
- Header files in C contain:
- Compiler commands
- Library functions
- Header
- Operators
- Which is a numeric data type:
- Floating point
- Integer
- Double
- Long double
- The escape sequence for backslash is:
- \
- \
- \\
- \t
- When a relational expression is false, it has the value:
- Zero
- One
- Less than zero
- Two
- In If statement, true is represented by:
- 0
- 1
- 2
- 3
- The statement causes a loop to terminate early:
- Break
- Termite
- Exit
- Continue
- A loop within a loop is called:
- Complex
- Nested
- Infinite
- For
- Built in function
- User defined function
- Local function
- Keyword
- The character is used to mark the end of string:
- \ 0
- / 0
- A
- \ n
SUBJECTIVE PART
SECTION-II
Q 2. Write short answers to any six parts from the following:
- Define Data Manipulation.
- What is the File?
- State an Attribute with one example.
- Who is a User or End User?
- Define the term Redundancy.
- Enlist two uses of Form.
- Write two types of Anomalies.
- Define the term RDMBS.
- Write two table views in MS-Access.
Q 3. Write short answers to any eight parts of the following:
- Why Machine Language does executes faster?
- Give any four examples of High level language.
- Write use of Turbo C + +.
- Name data types used to store real data.
- What is Keyword? Give example.
- Write purpose of clrscr function.
- Trace Errors in the following code:
# include main()
{
Printf("OK);
}
- Trace output of the following code:
int i = -186;
printf("%6d");
- Trace erroer in the following code:
# include <stdio.h>
Void Main()
{
Int i;
Scanf("%d",i);
Printf("%d,i");
}
C-Language
Q 4. Write short answers to any six parts:
- Name and describe three types of Branching Mechanism.
- Define While Loop.
- Describe Built in function.
- Define function body.
- What is Binary stream?
- Find out the output of following code.
int a = 10,b = 12
Sum = a+b;
Printf("%d",Sum);
- Find out error from the following code:
- Define control structure.
- Define f (" yes" );
Section-III
Q 5. Briefly describe Basic Data Distribution Strategies.
Q 6. Define Query. Discuss different types of Queries.
C-Language
Note: Attempt any two questions:
Q 7. Define High level Language. Write down the characteristics of C-Language.
Q 8. Write a program in C language that inputs a number from user and finds whether it is positive negative, zero.
Q 9. Define For-Loop. Give its syntax and Flow chart. Also explain its working using an example.