Current Solved Paper
Fall 2021 (Paper 3)
Question No 1:In the Ordinary fixed point type, the distance between values (Raise For Success) is implemented as a power of ______.- 16
- 2
- 10 Correct
- 8
- 16
- 2
- 10 Correct
- 8
Question No 2:Which of the following language was not developed (Raise For Success) in 1950s era:- Lisp
- FORTRAN
- Smalltalk Correct
- COBOL
- Lisp
- FORTRAN
- Smalltalk Correct
- COBOL
Question No 3:The substitute of (Raise For Success) C/C++ pointer type in Ada is _______.- Discriminate type
- Ada Record Correct
- Access type
- Both Discriminate type & Ada Record
- Discriminate type
- Ada Record Correct
- Access type
- Both Discriminate type & Ada Record
Question No 4:The first high (Raise For Success) level language is ______.- FORTRAN
- Plankal kool Correct
- Ada
- SNOBOL
- FORTRAN
- Plankal kool Correct
- Ada
- SNOBOL
Question No 5:The statement (Raise For Success) true about Prolog "_____"- It is a string manipulation language
- It is used for AI application
- It is a database language
- Use both for AI application & as a database language Correct
- It is a string manipulation language
- It is used for AI application
- It is a database language
- Use both for AI application & as a database language Correct
Question No 6:In Ada's packages (Raise For Success) everything is by default _____- Public
- Private Correct
- Protected
- Both Private & Protected
- Public
- Private Correct
- Protected
- Both Private & Protected
Question No 7:______ operations (Raise For Success) in SNOBOL are right associative.- Unary
- Exponentiation Correct
- Multiplication
- Addition
- Unary
- Exponentiation Correct
- Multiplication
- Addition
Question No 8:A _______ is used (Raise For Success) to signify a potentially infinite loop in Ada.- Full loop
- simple loop Correct
- Special loop
- Master loop
- Full loop
- simple loop Correct
- Special loop
- Master loop
Question No 9:_______ operator (Raise For Success) is right associative in SNOBOL.- Unary operator
- Binary operator
- Exponentiation operator Correct
- Division operator
- Unary operator
- Binary operator
- Exponentiation operator Correct
- Division operator
Question No 10:In mid 80 s, (Raise For Success) data complexity increased and it demanded:- Better control structures
- Stored procedures
- Object Oriented Programming Correct
- Structured Approach
- Better control structures
- Stored procedures
- Object Oriented Programming Correct
- Structured Approach
Question No 11:For immediate (Raise For Success) value assignment ______ sign is used.- %
- & Correct
- $
- "
- %
- & Correct
- $
- "
Question No 12:FORTRAN (Raise For Success) has ______ arithmetic.- Long Correct
- Floating point
- Double
- Decimal
- Long Correct
- Floating point
- Double
- Decimal
Question No 13:15-30 function points (Raise For Success) shows that language level is:- 4-8
- Above 55
- 16-23 Correct
- 1-3
- 4-8
- Above 55
- 16-23 Correct
- 1-3
Question No 14:______ is not good as (Raise For Success) far as reliability of a language is concerned.- Orthogonality
- Readability
- Writability
- Aliasing Correct
- Orthogonality
- Readability
- Writability
- Aliasing Correct
Question No 15:Indexes of arrays (Raise For Success) in Ada DO NOT starts from:- 0 Correct
- 1
- 2
- 3
- 0 Correct
- 1
- 2
- 3
Question No 16:Following factors (Raise For Success) influence a portable language design EXCEPT:- Computer architecture
- Readability
- Programmer's time
- Window XP Correct
- Computer architecture
- Readability
- Programmer's time
- Window XP Correct
Question No 17:Record in Ada is similar to structure in C/C++. Record members (Raise For Success) in Ada is accessed through _________.- Dot operator Correct
- Arrow operator
- Both arrow operator & Dot operator
- None of the given options
- Dot operator Correct
- Arrow operator
- Both arrow operator & Dot operator
- None of the given options
Question No 18:The first programming (Raise For Success) language to support Recursion was ______.- ADA
- LISP Correct
- FORTRAN
- COBOL
- ADA
- LISP Correct
- FORTRAN
- COBOL
Question No 19:_____ is concerned with maintenance and debugging. This is a very important concern because if maintenance cost is reduced, (Raise For Success) the overall cost on the software will also be reduced.- Readability Correct
- Writability
- Orthogonality
- Portability
- Readability Correct
- Writability
- Orthogonality
- Portability
Question No 20:Pattern , VariableUpon successful completion of pattern matching, the substring matched (Raise For Success) by the pattern is assigned to the variable as ________.- Value Correct
- String
- Integer
- Real Numbers
- Value Correct
- String
- Integer
- Real Numbers
Question No 21:Variable name in (Raise For Success) SNOBOL cannot be longer than ________.- 150 characters
- 250 characters
- 500 characters
- 120 characters Correct
- 150 characters
- 250 characters
- 500 characters
- 120 characters Correct
Question No 22:A concept similar (Raise For Success) to classes in Ada is called ______.- Packages Correct
- Structures
- Controls
- Abstract Data type
- Packages Correct
- Structures
- Controls
- Abstract Data type
Question No 23:A space is used (Raise For Success) as _____ for concatenation.- Variable
- String
- Data Type
- Operator Correct
- Variable
- String
- Data Type
- Operator Correct
Question No 24:In _____ we shape (Raise For Success) the program as a function.- SNOBOL
- LISP
- ALGOL
- C Correct
- SNOBOL
- LISP
- ALGOL
- C Correct
Question No 25:In Ada programming (Raise For Success) language Tagged types are used for ______.- Encapsulation
- Defining extensible types Correct
- Both encapsulation & type definition
- Neither encapsulation not type definition
- Encapsulation
- Defining extensible types Correct
- Both encapsulation & type definition
- Neither encapsulation not type definition
Question No 26:_____ helps in creating types of your own choice even numeric (Raise For Success) types can be created.- Ada Correct
- LISP
- FORTRAN
- PROLOG
- Ada Correct
- LISP
- FORTRAN
- PROLOG
Question No 27:In Ada programming language packages (Raise For Success) are used for _____.- encapsulation only Correct
- type definition only
- both encapsulation and type definition
- Neither encapsulation nor type definition
- encapsulation only Correct
- type definition only
- both encapsulation and type definition
- Neither encapsulation nor type definition
Question No 28:Which of the following is not part of standard SNOBOL4 (Raise For Success) statement structure?- Label
- END Correct
- Statement body
- goto Field
- Label
- END Correct
- Statement body
- goto Field
Question No 29:In ENIAC Physical motion was eventually (Raise For Success) replaced by ____ signals.- Analog
- Electrical Correct
- Digital
- Logical
- Analog
- Electrical Correct
- Digital
- Logical
Question No 30:We can have nested (Raise For Success) procedure in _____ language.- C++
- Ada Correct
- C
- PROLOG
- C++
- Ada Correct
- C
- PROLOG
Tags:
CS508
cs508 grand quiz
CS508 Solved Past Paper by Raise For Success
Fall 2021
Fall 2022
Fall 2023
Fall 2024
Fall 2025
Midterm Past Papers
midterm solved past papers
midterm solved past papers cs508