pdf

School

Ivy Tech Community College, Indianapolis *

*We aren’t endorsed by this school

Course

M01

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

5

Uploaded by JudgeTankArmadillo25

Report
1/28/24, 9:29 PM SDEV-M07 Evaluate: Quiz - Arrays and File I/O: Knowledge Assessment for IT - Cohort 8 Virtual Instruction Shell for mcloud3 https://ivylearn.ivytech.edu/courses/1195737/quizzes/4137566 1/5 SDEV-M07 Evaluate: Quiz - Arrays and File I/O Due No due date Points 20 Questions 10 Time Limit 30 Minutes Allowed Attempts Unlimited Instructions Attempt History Attempt Time Score LATEST Attempt 1 10 minutes 12 out of 20 Correct answers are hidden. Score for this attempt: 12 out of 20 Submitted Jan 28 at 9:29pm This attempt took 10 minutes. There are 10 questions in this quiz; each question is worth 2 points for a maximum of 20 points. It is recommended that you review the Reading Assignment before attempting this quiz. You will have unlimited attempts to take this quiz. Each time you take this quiz, if you do not receive the maximum score, you will see your responses to the questions as well as questions that were marked as incorrect. The questions are chosen from a bank of questions, so you may see new questions on your attempts. The score that will post as your grade will be the highest of all scores earned. You will have 30 minutes to complete the quiz. At the end of 30 minutes, the quiz will automatically end and submit your answers. If you finish before 30 minutes, click the submit button at the end of the quiz to submit your answers. A passing score is 14 out of 20 (70%). To begin the Quiz, click on the Take the Quiz button below. Take the Quiz Again
1/28/24, 9:29 PM SDEV-M07 Evaluate: Quiz - Arrays and File I/O: Knowledge Assessment for IT - Cohort 8 Virtual Instruction Shell for mcloud3 https://ivylearn.ivytech.edu/courses/1195737/quizzes/4137566 2/5 2 / 2 pts Question 1 Arrays can reduce the number of __________ needed in a program because a single array instead of a collection of simple variables to store related data. variables 0 / 2 pts Question 2 Incorrect Incorrect Each element in an array is identified by its __________. Index or subscript 2 / 2 pts Question 3 The following statement: Declare ArrayX[5,5] allocates storage space for __________ elements. 25 0 / 2 pts Question 4 Incorrect Incorrect What is the output corresponding to the following pseudocode? Declare Var1, Var2, Var3 As String
1/28/24, 9:29 PM SDEV-M07 Evaluate: Quiz - Arrays and File I/O: Knowledge Assessment for IT - Cohort 8 Virtual Instruction Shell for mcloud3 https://ivylearn.ivytech.edu/courses/1195737/quizzes/4137566 3/5 Set Var1 = "10" Set Var2 = "15" Set Var3 = "0" Set Var3 = Var1 + Var2 Write Var3 0 0 / 2 pts Question 5 Answer 1: Answer 2: Incorrect Incorrect If we know that 100 elements have been allocated to a two-dimensional array named MyArray, a possible way to declare MyArray would be Declare MyArray[25, 4]. This means that MyArray has 4 columns and 25 rows. (Note, this question has 2 parts; you must answer each part correctly to receive full marks.) 4 25 0 / 2 pts Question 6 Incorrect Incorrect _________ consist of many linked tables.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
1/28/24, 9:29 PM SDEV-M07 Evaluate: Quiz - Arrays and File I/O: Knowledge Assessment for IT - Cohort 8 Virtual Instruction Shell for mcloud3 https://ivylearn.ivytech.edu/courses/1195737/quizzes/4137566 4/5 Relational Database 2 / 2 pts Question 7 In some programming languages, ___________ are implemented as arrays whose elements are characters. strings 2 / 2 pts Question 8 Complete the following program segment that displays the number of letters in the person's first name. Declare First[ ] As Character Declare FullName[25] As Character Declare K, Lgth As Integer Set K = 0 While (FullName[K] != “ “) Set First[K] = FullName[K] Set K = K + 1 End While Set Lgth = Length_Of(First) Write “The number of letters in the first name is “ + __________ Lgth
1/28/24, 9:29 PM SDEV-M07 Evaluate: Quiz - Arrays and File I/O: Knowledge Assessment for IT - Cohort 8 Virtual Instruction Shell for mcloud3 https://ivylearn.ivytech.edu/courses/1195737/quizzes/4137566 5/5 2 / 2 pts Question 9 What will be displayed after code corresponding to the following pseudocode is run? Declare MyName[25] As Character Set MyName = “Harry5” Write Length_Of(MyName) 6 2 / 2 pts Question 10 Arrays are stored in a computer's memory in a sequence of ______________ storage locations. consecutive Quiz Score: 12 out of 20