๐Ÿ“š Exam by Category
โ–พ
Question Bank

AP SET Computer Science Exam Paper 2 - English

Duration: 120 ยท Questions: 100 ยท Max Marks: 100 ยท Language: 1

View AP SET Computer Science 2026 Exam Page

Computer Science

1
The 0 and 1 in the binary numbering system are called Binary Digits or
  1. A.Bytes      
  2. B.Kilobytes
  3. C.Decimal bytes
  4. D.Bits          
2
What language does a browser typically interpret to display information from the World Wide Web ?  
  1. A.Machine Code
  2. B.Assembly Language
  3. C.HTML
  4. D.C++  
3
______ is the process of finding errors in software code.
  1. A.Compiling
  2. B.Testing
  3. C.Running
  4. D.Debugging
4
The code for a Web page is written using _________.
  1. A.A fifth generation language
  2. B.WinZip
  3. C.Peripherals
  4. D.Hypertext Markup Language
5
A program is a sequence of ___________ written in a programming language.
  1. A.Lines
  2. B.Function
  3. C.Instructions
  4. D.Code words    
6
Which of the following languages is more suited to a structured program ?
  1. A.PL/1
  2. B.FORTRAN
  3. C.BASIC
  4. D.PASCAL
7
A computer program that converts assembly language to machine language to machine language is
  1. A.compiler
  2. B.Interpreter
  3. C.Assembler
  4. D.None of the above
8
The symbols used in an assembly language are
  1. A.Codes
  2. B.Mnemonics
  3. C.Assembler
  4. D.All of the above      
9
Which is a non-standard version of a computing language ?
  1. A.PROLOG
  2. B.APL
  3. C.Army
  4. D.PL/1
10
A language which is close to that used with in the computer is
  1. A.High – level language
  2. B.Assembly language
  3. C.Low- level language
  4. D.All of the above      
11
Program execution time would be minimum if the programs are written in
  1. A.Machine Language   
  2. B.Assembly language   
  3. C.High level language
  4. D.All of the above       
12
Which one of the following is not a type of a language processor ?
  1. A.Compiler
  2. B.Interpreter  
  3. C.Application software
  4. D.Assembler    
13
Which one of the following is called low level languages ?
  1. A.Machine language
  2. B.Assembly language
  3. C.both of the above
  4. D.None of the above
14
Which is the limitation of high level language ?
  1. A.Lower efficiency
  2. B.Machine dependence
  3. C.Machine level coding
  4. D.None of above
15
Programming language which is used for scientific purposes and work is to be done in batches is
  1. A.PASCAL
  2. B.FORTRAN
  3. C.LOGO     
  4. D.COMAL     
16
Programming language which is extension of programming language 'BASIC' is
  1. A.PASCAL
  2. B.COBOL
  3. C.LOGO
  4. D.COMAL   
17
Program subroutines are
  1. A.called by other programs
  2. B.fixed variable
  3. C.default constants
  4. D.default variables     
18
Loop statement which is repeated to some given number of times is classified as
  1. A.FOR loop
  2. B.GO loop
  3. C.REPEAT loop
  4. D.GO REPEAT loop  
19
A program which interprets each line of high level program at time of execution is called
  1. A.instructor
  2. B.interpreter
  3. C.translator
  4. D.executor  
20
Set of data whose items are organized together is classified as
  1. A.data structure
  2. B.variable structure
  3. C.string structure
  4. D.positive structure
21
______ is a container that represents a value in a program .
  1. A.Compiler
  2. B.Variable
  3. C.Data type
  4. D.None of the above
22
To distinguish between different data types, a computer uses special ______ .
  1. A.Internal codes
  2. B.External codes
  3. C.compilers
  4. D.None of the above
23
_______ is the same thing as a variable with one major difference. Its does not change, while the value of a variable can change throughout a program .
  1. A.fixed-Variable
  2. B.Conditional
  3. C.Constant
  4. D.None of the above
24
Array is a special type of variable used in many programming languages, such as ________
  1. A.C
  2. B.C++
  3. C.Java
  4. D.All of the above
25
What is a segment of code that executes repeatedly based on a certain condition ?
  1. A.Function
  2. B.Array
  3. C.Loop
  4. D.None of the above
26
What is defined as a set of code used to carry out specific tasks ?
  1. A.Function
  2. B.Class
  3. C.Loop
  4. D.None of the above
27
What is used for a real world object that is to be used in a program ?
  1. A.Program
  2. B.Template
  3. C.Car Class
  4. D.None of the above
28
_______ is object oriented programming language that uses virtual functions, multiple inheritance, exception handling, polymorphism, etc .
  1. A.C++
  2. B.C
  3. C.GUI
  4. D.None of the above
29
C++ provides comprehensive coverage of abstract classes, such as ______ .
  1. A.Interfaces
  2. B.Regular error handling, standard strings
  3. C.I/O strings   
  4. D.All of the above   
30
A linked list a linear collection of similar data elements called ______ .
  1. A.Subscript
  2. B.Index
  3. C.Nodes
  4. D.Null
31
______ was the first high-level language developed by john Backus at IBM in 1956
  1. A.FORTRAN
  2. B.COBOL
  3. C.BASIC
  4. D.NONE OF THE ABOVE
32
This language was developed by Dennis Ritchie of Bell Laboratories in order to implement the operating system UNIX .
  1. A.C
  2. B.C++
  3. C.Java
  4. D.LISP
33
C is known as
  1. A.low level programming language
  2. B.High level  programming language    
  3. C.Machine language
  4. D.None of the above
34
Which of the following is language processor ?
  1. A.Interpreter
  2. B. Assembler
  3. C.Compiler
  4. D.All of the above
35
________ converts an assembly language program into machine language .
  1. A.Assembler     
  2. B.Compiler
  3. C.Interpreter
  4. D.All of the above 
36
Which of the following language processors converts a high-level language program line by line into a machine language ?
  1. A.Assembler
  2. B.Interpreter
  3. C.Compiler
  4. D.None of the above
37
Errors in a computer program are referred to as
  1. A.Bugs
  2. B.Mistakes
  3. C.Item overlooked
  4. D.Crash
38
Computer programs are written in a high level programming language; however, the human-readable version of a program is called ________ .
  1. A.cache
  2. B.Instruction set
  3. C.source code
  4. D.word size
39
Which of the following is not a programming language ?
  1. A.Pascal
  2. B.Microsoft Office
  3. C.Java
  4. D.C++
40
What is correcting errors in a program called ?
  1. A.Compiling 
  2. B.Debugging
  3. C.Grinding
  4. D.Interpreting    
41
The postfix expression AB + CD − can be evaluated using a
  1. A.stack
  2. B.tree
  3. C.queue
  4. D.linked list
42
The post order traversal of a binary tree is DEBFCA. Find out the pre-order traversal .
  1. A.ABFCDE
  2. B.ADBFEC
  3. C.ABDECF
  4. D.None of the above
43
The branch logic that provides making capabilities in the control unit is known as
  1. A.Controlled transfer
  2. B.Conditional transfer
  3. C.Unconditional transfer
  4. D.None of the above
44
The number of colour required to properly colour the vertices of every planer graph is
  1. A.2
  2. B.3
  3. C.4
  4. D.5
45
In multiuser database if two users wish update the same record at the same time, they are prevented from doing so by
  1. A.Jamming
  2. B.Password
  3. C.Documentation
  4. D.Record lock
46
A binary search tree is a binary tree :
  1. A.All items in the left subtree are less than root
  2. B.All items in the right subtree greater than or equal to the root
  3. C.Each subtree is itself a binary search tree
  4. D.All of the above
47
What deletes the entire file except the file structure ?
  1. A.ERASE
  2. B.DELETE
  3. C.ZAP
  4. D.PACK
48
Which command is the fastest among the following ?
  1. A.COPY TO < NEW FILE >
  2. B.COPY STRUCTURE TO < NEW FILE >
  3. C.COPY FILE < FILE 1> < FILE 2 >
  4. D.COPY TO MFILE-DAT DELIMITED
49
B+ tree are preferred to binary tree in Database because ?
  1. A.Disk capacity are greater than memory
  2. B.Disk access is much slower than memory access
  3. C.Disk data transfer rates are much less than memory data transfer rate
  4. D.Disks are more reliable than memory
50
A Transaction Manager is which of the following ?
  1. A.maintains a log of transactions
  2. B.Maintains before and after database images
  3. C.maintains appropriate concurrency control
  4. D.All of the above
51
Leaves of which of the following trees are at the sam level ?
  1. A.Binary tree
  2. B.B-tree
  3. C.AVL-tree
  4. D.Expression tree
52
Which of the following TCP/IP Internet protocol is diskless machine uses to obtain its IP address from a server ?
  1. A.RAP
  2. B.RIP
  3. C.ARP
  4. D.X.25
53
Decryption and encryption of data are the responsibility of which of the following later ?
  1. A.Physical layer
  2. B.Data Link layer
  3. C.Presentation layer
  4. D.Session layer
54
In which circuit switching, delivery of data is delayed because data must be stored and retrieved from RAM ?
  1. A.Space division
  2. B.Time division
  3. C.Virtual
  4. D.Packet
55
In which Routing Method do all the routers have a common database ?
  1. A.Distance vector
  2. B.Link state
  3. C.Link vector
  4. D.Dijkestra method
56
Page Shift Keying (PSK) Method is used to modulate digital signal at 9600 bps using 16 level. Find the line signals and speed (i.e. modulation rate) .
  1. A.2400 bauds
  2. B.1200 bauds
  3. C.4800 bauds
  4. D.9600 bauds
57
The station to hub distance in which it is 2000 metres .
  1. A.100 Base - Tx
  2. B.100 Base-Fx
  3. C.100 Base-T4
  4. D.100 Base-T1
58
Main aim of software engineering is to produce
  1. A.program
  2. B.software
  3. C.within budget
  4. D.software within budget in the given schedule
59
Key process area of CMM level 4 are also clasified by a process which is
  1. A.CMM level 2
  2. B.CMM level 3
  3. C.CMM level 5
  4. D.All of the above
60
Validation means -
  1. A.are we bulding the product right
  2. B.are we building the right product
  3. C.Verification of fields
  4. D.None of the above
61
If a process is under statistical control, then it is
  1. A.Maintainable
  2. B.Measurable
  3. C.Predictable
  4. D.Verifiable
62
In a function oriented design, we
  1. A.minimize cohesion and maximize coupling
  2. B.maximize cohesion and minimize coupling
  3. C.maximize cohesion and maximize coupling
  4. D.minimize cohesion and minimize coupling
63
Which of the following metric does not depend on the programming language used ?
  1. A.Line of code
  2. B.Function count
  3. C.Member of token
  4. D.All of the above
64
A/B+ tree index is to be built on the name atribute of the relation STUDENT. Asume that all students names are of length 8 bytes, disk block are of size 512 bytes and index pointers are of size 4 bytes. Given the scenario what would be the best choice of the degree (i.e. the number of pointers per node) of the B+ tree ?
  1. A.16
  2. B.42
  3. C.43
  4. D.44
65
The inorder traversal of the tree will yield a sorted listing of elements of tree in
  1. A.Binary tree
  2. B.Binary search tree
  3. C.Heaps
  4. D.None of the above
66
Mobile IP provides two basic functions .
  1. A.Route discovery and registration
  2. B.Agent discovery and registration
  3. C.IP binding and registration
  4. D.None of the above
67
Pre-emptive scheduling is the strategy of temporarily suspending a gunning process
  1. A.before the CPU time slice expires
  2. B.to allow starving processes to run
  3. C.when it requests I/O
  4. D.to avoid collision
68
In round robin CPU scheduling as time quantum is increased the average turn around time
  1. A.increases
  2. B.decreases
  3. C.remains constant
  4. D.varies irregularly
69
Resources are allocated to the process on nonsharable basis is
  1. A.mutual exclusion
  2. B.hold and wait
  3. C.no pre-emption
  4. D.circular wait
70
Cached and interleaved memories are ways of speeding up memory access between CPU's and slower RAM. Which memory models are best suited (i.e. improves the performance most) for which programs ?
(i) Cached memory is best suited for small loops
(ii) Inteleaved memory is best suited for small loops
(iii) Interleaved memory is best suited for large sequential
(iv) Cached memory is best suited for large sequential
code :
  1. A.(i) and (ii) are true
  2. B.(i) and (iii) are true
  3. C.(iv) and (ii) are true
  4. D.(iv) and (iii) are true
71
Consider the following page trace :
4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5
Percentage of page fault that would occur if FIFO page replacement algorithm is used with number of frames for the JOB m = 4 will be
  1. A.8
  2. B.9
  3. C.10
  4. D.12
72
Check sum used along with each packet computes the sum of the data, where data is treated as a sequence of
  1. A.Integer
  2. B.Character
  3. C.Real numbers
  4. D.Bits
73
If an integer needs two bytes of storage, then the maximum value of a signed integer is
  1. A.216 − 1
  2. B.215 − 1
  3. C.216
  4. D.215
74
Which of the following logic families is well suited for high-speed operations ?
  1. A.TTL
  2. B.ECL
  3. C.MOS
  4. D.CMOS
75
Interrupts which are initiated by an instruction are
  1. A.Interrupts
  2. B.External
  3. C.Hardware
  4. D.Software
76
printf (" %c", 100) ;
  1. A.prints 100
  2. B.prints ASCII equivalent of 100
  3. C.prints garbage
  4. D.None of the above
77
For the transmission of the signal, Bluetooth wireless technology uses
  1. A.time division multiplexing
  2. B.frequency division multiplexing
  3. C.time division duplex
  4. D.frequency division duplex
78
Consider the following statements :
I. Recursive languages are closed under complementation
II. Recursively enumerable languages are closed under union
III. Recursively enumerable languages are closed under complementation
Which of the above statements are true ?
  1. A.I only
  2. B.I and II
  3. C.I and III
  4. D.II and III
79
What is the routing algorithm used by RIP and IGRP ?
  1. A.OSPF
  2. B.Link-state
  3. C.Dynamic
  4. D.Dijkestra vector
80
Identify the incorrect statement :
  1. A.The overall strategy drives the E-commerce data warehousing strategy
  2. B.Data warehousing in an E-Commerce environment should be done in a classical manner
  3. C.E-commerce opens up an entirely new world of web server
  4. D.E-Commerce security threats can be grouped into three major categories
81
The basic functional units of a digital computer include?
  1. A.Input, Output, ALU, Control Unit
  2. B.Compiler, Interpreter, Loader
  3. C.Cache, Register, Stack
  4. D.Bus, Port, Interface
82
Which unit performs arithmetic and logical operations in a computer system?
  1. A.Control Unit
  2. B.Arithmetic Logic Unit
  3. C.Memory Unit
  4. D.Input Unit
83
The Control Unit of a computer is responsible for?
  1. A.Storing data
  2. B.Performing calculations
  3. C.Transferring data externally
  4. D.Directing and coordinating operations
84
A system bus generally consists of?
  1. A.Address bus and cache bus
  2. B.Control bus only
  3. C.I/O bus and memory bus
  4. D.Data bus, Address bus, Control bus
85
Which bus carries the location of data to be accessed?
  1. A.Data bus
  2. B.Address bus
  3. C.Control bus
  4. D.Expansion bus
86
The width of the data bus determines the?
  1. A.Addressable memory size
  2. B.Speed of instruction execution
  3. C.Number of registers
  4. D.Amount of data transferred at a time
87
Which bus is bidirectional in nature?
  1. A.Address bus
  2. B.Control bus
  3. C.Data bus
  4. D.Interrupt bus
88
Bus arbitration is required when?
  1. A.CPU is idle
  2. B.Data transfer is slow
  3. C.Memory is full
  4. D.Multiple devices request bus access
89
Centralized bus arbitration uses?
  1. A.Priority encoder
  2. B.Daisy chaining
  3. C.Distributed logic
  4. D.All of the above
90
Daisy chain arbitration suffers from?
  1. A.High cost
  2. B.Starvation of low-priority devices
  3. C.Complex wiring
  4. D.No priority
91
What is an operating system?
  1. A.A hardware device
  2. B.A programming language
  3. C.A software that manages computer hardware and software resources
  4. D.A database system
92
Which of the following is a function of an operating system?
  1. A.Memory management
  2. B.Word processing
  3. C.Compiling programs
  4. D.Drawing graphics
93
Which of the following is a feature of a real-time operating system?
  1. A.Provides immediate processing to external events
  2. B.High-speed processing
  3. C.Supports multiple users
  4. D.Manages batch jobs
94
In a layered operating system structure, which layer interacts directly with hardware?
  1. A.User layer
  2. B.Interface layer
  3. C.Application layer
  4. D.Kernel layer
95
Which operating system structure is easy to debug and maintain?
  1. A.Monolithic kernel
  2. B.Modular kernel
  3. C.Microkernel
  4. D.Layered structure
96
What is a monolithic kernel?
  1. A.A kernel with minimal functions
  2. B.A kernel divided into layers
  3. C.A kernel that does not support multitasking
  4. D.A kernel where all OS services run in kernel space
97
Microkernel OS is characterized by:
  1. A.Running all services in kernel space
  2. B.Running most services in user space
  3. C.Not supporting device management
  4. D.Being slower than monolithic kernel always
98
Which of the following is a type of system call?
  1. A.File management
  2. B.All of the above
  3. C.Process control
  4. D.Network management
99
Which system call is used to create a new process?
  1. A.fork()
  2. B.exec()
  3. C.wait()
  4. D.exit()
100
Which system program translates high-level language into machine code?
  1. A.Assembler
  2. B.Compiler
  3. C.Loader
  4. D.Linker