Answer the following questions true (T) or false (F)

1. The ADT queue is value-oriented.

2. The root of a tree has one parent.

3. A binary tree cannot be empty.


1. False.
2. False.
3. False.

Computer Science & Information Technology

You might also like to view...

A file ________ is a small holding section of memory that file-bound information is first written to.

A) name B) number C) buffer D) segment E) None of the above

Computer Science & Information Technology

Suppose you have the following array declaration in a program.

``` int yourArray[5]; ``` Further suppose that in the implementation of C++ you are using an int that requires 4 bytes. i) When your program runs, how much memory is required for this array? ii) Suppose further that your array starts at memory location decimal 100. What will be the address of yourArray[3]? iii)If you wrote to the (illegal) index 7 position in yourArray to what address would this clobber? a) i) The array takes 5 bytes, ii) yourArray[3] will be an int located at Address 103. iii) writing to yourArray[7] will clobber an int starting at location 107. b) i) The array takes 10 bytes, ii) yourArray[3] will be an int located at Address 106. iii) writing to yourArray[7] will clobber an int starting at location 114 c) i) The array takes 20 bytes, ii) yourArray[3] will be an int located at Address 112 iii) writing to yourArray[7] will clobber an int starting at location 128 d) The purpose of a high level language is to insulate the programmer from these details. It isn’t possible to know this without probing the source to the operating system and the compiler, or extensive debugging.

Computer Science & Information Technology

Once an audio file is inserted into a slide, you can add options that specify how long and how loudly the clip will play.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A computer program can perform addition, subtraction, multiplication, and division operations on numeric data.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology