(CIS110 -Cmptr Prgrmmng Dsgn) Final Exam

(CIS110 -Cmptr Prgrmmng Dsgn) Final Exam - Date Taken:...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Date Taken: 3/23/2008 11:22:47 AM Time Spent: 1:34:14 (2:00 allowed) Points Received: 200 / 200 (100%) 1 Processing a large number of items in a(n) ________ is usually easier than processing a large number of items stored in s Constant Variable Array CORRECT Loop * Points Received: 4 of 4 2 What is the term used for the number inside the bracket that specifies the number of values that an array can hold? Sixe Size declarator CORRECT Number Number declarator * Points Received: 4 of 4 3 Access to the individual elements in an array is by using their _____________. Size Number Integer Subscript CORRECT * Points Received: 4 of 4 4 Which is the simplest search technique to find an item in an array? Sequential CORRECT Binary Bubble Select * Points Received: 4 of 4 5 ________________ arrays are two or more arrays that hold related data, and the elements are accessed using a common Sequential Binary Parallel CORRECT Linear * Points Received: 4 of 4 6 How many subscripts do you need to access one element in a two-dimensional array? One Two CORRECT Three Four
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
* Points Received: 4 of 4 7 Two- dimensional arrays can be thought of as containing ___________. Rows and columns CORRECT Lines and pages Rows and pages Lines and columns * Points Received: 4 of 4 8 In the following declaration, what is the data type of the elements of the array? Declare Integer numbers [SIZE] SIZE numbers Integer CORRECT Declare * Points Received: 4 of 4 9 If the variable named AVG has a value of 93, what is the value of GRADE after the instructions corresponding to the follow IF AVG > 93 THEN GRADE = "A" ELSE IF AVG > 83 THEN GRADE = "B" ELSE GRADE = "P" ENDIF ENDIF A B CORRECT C P * Points Received: 4 of 4 10 If the variable named AVG has a value of 73, what is the value of GRADE after the instructions corresponding to the follow IF AVG > 93 THEN GRADE = "A" ELSE GRADE = "B" ENDIF IF AVG > 73 THEN GRADE = "C" ELSE GRADE = "F" ENDIF A B
Background image of page 2
C F CORRECT * Points Received: 4 of 4 11 Which sorting algorithm moves elements to their final sorted position in the array? Bubble
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/19/2012 for the course COMPUTER S 100 taught by Professor Brown during the Spring '11 term at Strayer.

Page1 / 9

(CIS110 -Cmptr Prgrmmng Dsgn) Final Exam - Date Taken:...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online