Rawalpindi Board 2013
Inter Part I
(Computer Science)
Note: Pour 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.
MS_ACCESS
- MS Access database consists of various components, called:
(A) Controls
(B) Objects
(C) Tools
(D) Entities
- Tile fundamental concept of relational database is:
(A) Query
(B) Table
(C) From
(D) Report
- The data can be recovered in case of loss by using :
(A) Master File
(B) Back up File
(C) Transaction File
(D) Data File
- The Key used for data retrieval purposes is:
(A) Sor Key
(B) Secondary Key
(C) Primary Key
(D) Control Key
- Customers , cars Department and Parts are examples of
(A) Attributes
(B) Relationships
(C) Entities
(D) Cardinalities
- In relational database, a table is called:
(A) Tuple
(B) Relations
(C) File
(D) Schema
C_LANGUAGE OR VISUAL BASIC
C_ LANGUAGE
- A variable declared inside the function is called:
(A) Local
(B) Global
(C) Actual
(D) Formal
- In text file , data is stord in
(A) ASCII Code
(B) Binary Code
(C) Octal Code
(D) Text Code
- A set of rules that must be followed to develop a program , is called:
(A) Syntax
(B) Preprocessor
(C) Bug
(D) Debug
- Variables are created in :
(A) RAM
(B) ROM
(C) Hard Disk
(D) Space
- The function getch ( ) is defined in :
(A) Stdio h
(B) Conio h
(C) String h
(D) Math h
- Which programming structure makes a comparison?
(A) Relation
(B) Decision
(C) Sequence
(D) Repetition
- The case block in switch () structure ends with :
(A) End Select
(B) End case
(C) Break
(D) Case else
- Which statement is used to move the control to start of body lop?
(A) Continue
(B) Break
(C) Go to
(D) Skip
- Which loop structures executes the body of the loop at least once?
(A) While
(B) Do-while
(C) For
(D) Switch
OR VISUAL BASIC
- Variable that holds a large group of similar type of data is called:
(A) Array
(B) Scalar Value
(C) Constant
(D) Multiple Variable
- A type of function written by the programmer is known as :
(A) User defined
(B) Subprogram
(C) Subroutine
(D) Built in Function
- A programming language used for in mathematical and engineering applications was:
(A) FORTRAN
(B) BASIC
(C) Assembly
(D) COBOL
- In visual Basic, a form is another name for:
(A) Window
(B) Object
(C) Property
(D) Method
- Variable and constant names cannot contain:
(A) Number
(B) Period
(C) Underscore
(D) Letter
- One execution of a loop is known as:
(A) Test
(B) Iteration
(C) Duration
(D) Cycle
- Which programming structure executes program statements in order:
(A) Liberation
(B) Repetition
(C) Sequential
(D) Selection
- Which of the following is not a valid variable data type?
(A) Real
(B) Integer
(C) Currency
(D) String
- Each element in a control array is identified by:
(A) Tab Index
(B) Index
(C) List Index
(D) Subscript
(Subjective Part)
Section II
MS_ACCESS
2: Attempt any SIX short questions.
- What is data file?
- What is data redudancy?
- What is view?
- Define DBMS.
- What are Wild Cards?
- What is a synonym?
- What is the difference between forms and Reports?
- What is DBA?
- What is one to one relationship? Give an example.
C_LANGUAGE
3. Attempt any SIX short questions.
- What do you mean by delimiters?
- Why the logical error is the most difficulr error?
- List four commonly used high level languages.
- Give four examples of invalid variable names.
- Define Keyword and give an example.
- Differentiate between "Area" and Arca.
- What will the following code display? Print (“555 \ t”); print (“55”);
- Trace the errors in the following statement: # include <STDIO.H>;
- Describe the use of ampersand (&) in scan function.
OR VISUAL BASIC
4: Attempt any SIX short questions.
- Write down the output of the following code: for(i = 1 ; i <=10; i = i + 2)
- What is the output of the following code? in k ; for (k=0 ;> =0 ;K+ +) print ("y. d \n " , k); ;
- What is Binary stream?
- Write down the syntax of conditional operator.
- Define local variable.
- List some benefits of using function.
- What happens it BREAK statement is missed in Case BLOCK?
- List at least two differences between WHILE-Loop and Do-WHILE-Loop.
- Write down an expression to test each of the following relationship.
(a). age is from 18 to 25
(b). Year is divisible by 4.
C_LANGUAGE
Q4: Write short answers of any SIX Parts.
- Define Array.
- Define assignment operator.
- What is Aeration?
- Define Condition.
- What do you mean by decision statement?
- Which case option is used to test a range values?
- Explain the use of message Box.
- What is the purpose of VAL function?
- How many times does the following loop execute? For 1 = 1 to 10
SECTION II
MS_ACCESS
Attempt any ONE question.
- Briefly describe the advantages of DBMS.
- Write a note any four data types available in MS-Access.
SECTION III
Attempt any TWO (2) questions from C-Language or Visual Basic. Every question Carries 08 marks.
(C_LANGUAGE)
- What is bug? Explain different types of errors in C-Language.
- What is "Switch" statement. Explain its working with example.
- Write a program that displays products of all odd numbers from 1 to 10 using for-Loop.
—OR- VISUAL BASIC
- Explain different data types in Visual Basic.
- Explain Do-Loop with an example and a block diagram.
- Write a Program that displays products of all odd numbers from 1 to 10 using while -Loop.