Skip to main content

CIT341 TMA3

1 A data type is said to be abstract when it is independent of concrete __
*Termination
*Fumigation
*Classification
*Implementation

2 In building large systems, the choice of data structure determines the quality of the ___
*Substrate
*Argument
*Product
*Expression

3 Which one of the following is a typical non-linear data structure?
*List
*Tree
*Stack
*Queue

4 The data structure consisting of a group of elements accessed by indexing is known as the __
*Argument
*SIMM
*Array
*Set

5 Proper structuring of data makes software programme routines __
*Older
*Newer
*Tougher
*Simpler

6 Ordinarily, the _ operation is required to create a list
*Index
*Add
*Set
*Initialise

7 In the preorder traversal technique, the root is visited _
*Last
*Most
*First
*Least

8 The position of a key in the array is designated by a _ function
*List
*Hash
*Stack
*Block

9 Normally, a leaf has a node of degree__
*One
*Three
*Two
*Zero

10 Two common exhaustive search methods are bruteforce and __
*Stacking
*Pushing
*Bactracking
*Moving

11 he operation in which a node is added to the top of a stack leaving previous nodes below is referred to as _
*PUSH
*MOVE
*LET
*SET

12 All the following can be classified as primitive operations except _
*ADD
*SET
*PUT
*GET

13 A _ table is commonly referred to as a searcheable container
*Stack
*Data
*Hash
*Blog

14 True or False values are categorised as __
*Boolean
*Floating point
*Characters
*Sinking points

15 The primitive operation of a List which updates the contents of a node is called a __
*GET
*SET
*CITE
*LET

16 A _ has a node of degree zero
*Leaf
*Routine
*Pointer
*Subroutine

17 The algorithm that systematically visits all the items in a tree is known as a _ traversal.
*Stack
*Tree
*List
*Queue

18 A Hash table resolves collisions by a technique known as _chaining
*Separate
*Fixed
*Partial
*Full

19 All __, whether they are fields, local variables, or parameters, follow the same naming rules and conventions.
*Variables
*Indices
*Loops
*Sets

20 In the context of encapsulation, it is common to make fields _
*Large
*Private
*Public
*Small




Comments

Popular posts from this blog

CIT309 TMA1

1 …..……. ,…………. and…………….. conditions will warrant the CPU not to honor the interrupt request except ………….. *Interrupt disable *Instruction completion *Execution state *Hold state 2 ………………... arbitrates system communication and has a central role in maintaining cache coherence *L2 cache *Memory card *System control element (SCE) *Main store control (MSC) 3 …………... unit controls the operation of the processor *logical *control *arithmetic *operation 4 The operation of the processor is determined by the following excep ______________ *machine instructions *instructions it executes *instruction *computer instruction 5 ……………… operations are the functional or atomic operations of a processor *Macro *Micro *Micra *Cycle 6 The most interesting and complex component in a computer system is ____________ *Main memory *Central processing unit *Input/Output *System interconnections 7 The following except _________ are part of the mai...

CIT309 TMA2

1 in both the SMP and uniprocesssor cases, multiple jobs or processes may be active at one time________ responsiblefor the allocation of the resources *processor *ALU *Control bus *operating system 2 ………………… is midway between software and hardware *Programming *Macroprogram *Program *Microprogram 3 In what order does the next instruction fetch during the instruction cycle *random *glance *subsequence *sequence 4 An instance of a progam running on a computer is called ___________ *reaction *function *execution *process 5 …………….. Acknowledges that the CPU has been reset *Reset Out *Reset In *Reset *Set 6 ……………… causes the contenst of the CPU to be set to zero *Reset Out *Reset In *Reset *Set 7 Which of the following is not an elements of a machine instruction? *Results operands reference *Source operand reference *Operator *Next instruction reference 8 the enhancement of a system performance by adding an additional processor by a...