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

1. A queue is first-in-first-out data structure.

2. Most applications that use a stack will store a struct or class object on the stack.


1. True
Explanation: A queue is fair. Entries are serviced and removed from the queue in the order of arrival.
2. True
Explanation: The struct stored on the stack to store data on the stack. Such a struct is called a stack frame.

Computer Science & Information Technology

You might also like to view...

List the five recommendations in the EBK for implementing the personnel security process.

What will be an ideal response?

Computer Science & Information Technology

Which if statement would be true if you needed to see if x (an int) is less than 25?

A. if( x > 26 ) B. if( x <= 25 ) C. if( x <= 24 ) D. if( x >0 && x < 25 )

Computer Science & Information Technology

Match the following audio file types with the descriptions

I. .aiff A. Developed by Real Networks for streaming audio II. .midi B. Developed by Apple for Macintosh III. .mp3 C. Supported by computers running Windows and by most browsers IV. .rm D. Sends information between musical instruments and your computer V. .wav E. One of the most popular formats for distributing recorded music

Computer Science & Information Technology

Which video mode is the native resolution for many desktop LCD monitors?

A. XGA B. UXGA C. SXGA D. WUXGA

Computer Science & Information Technology