Skip to main content

CIT341 TMA1

1 Identify which one of the following which is not a valid operation in Java programming
*Multiplication
*Additon
*Exposition
*Subtraction

2 A first class abstract data type supports the establishment of multiple __
*Stucks
*Instances
*Messages
*Forces

3 Generally, in linear data structures, the storage and access is done linealy in the computer __
*Windows
*Menus
*Memory
*Icons

4 The choice of data structure is a key design consideration in designing __
*Sites
*Keys
*Programmes
*Sets

5 In Object-oriented languages, abstract data types are expressed by means of __
*Classes
*Moles
*Sets
*Lists

6 In a queue data structure, additions are made at the end and removals at the head, hence it is said to be a _ structure
*FIFO
*LIFO
*INFO
*NIFO

7 The PUSH and POP are 2 basic operations of implementing a _
*Queue
*Stack
*Block
*String

8 Which of the following is not a valid category of data type?
*Numeric
*Character
*Item
*Boolean

9 A static data structure can also be referred to as an _
*Intersparsed array
*Abstract data
*Array
*Activex data

10 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

11 Identify any of the following which is an exhaustive search method?
*Stacking
*Backtracking
*Sidetracking
*Updating

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

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

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

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

16 Ordinarily, a _ provides the blueprint for objects
*Hash
*Class
*Reference
*Bin

17 The primitive operation of a _ which updates the contents of a node is called a set
*Form
*Tree
*Class
*List

18 The operation in which a node is added to the top of a stack leaving previous nodes below is referred to as a _
*POP
*PUSH
*BLOG
*PUT

19 The general format for declaring a _is to write: type name;
*List
*Variable
*Key
*Log

20 The position of a key in the array is designated by a _ function
*Binary
*Hash
*Reference
*Static

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...