comp_sci_flashcards - Which of the following is not a...

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

View Full Document Right Arrow Icon
Which of the following is not a control statement?,assignment statement In an artificial neural network, what input values will cause the processing unit below to produce an output of 1. input : 1 -2 1 threshold: .5,Any combination in which the center input is 0 and at least one other input is 1 Which of the following does not require a Boolean structure?,assignment statement Which of the following is actually constructed during a heuristic search?,search tree what is ignored by the compiler?,comment statements Which of the following is not constructed by a typical compiler?,source code Most machine languages are based on the,Imperative paradigm Correct Which of the following is the scope of a variable?,The portion of the program in which the variable can be accessed Which of the following learning technique results in an agent merely performing a pre-recorded sequence of steps?,imitation Which of the following is not a step in the process of translating a program?,executing the program Which of the following is not associated with object-oriented programming?,resolution which of the following is not a type of statement found in a typical high-level imperative programming language?,Exclamatory statement positions within arrays are identified by means of numbers called,indices In an artificial neural network, which of the following pairs of weights would cause a processing unit with two inputs and a threshold value of 3 to produce an output of 1 only when both of its inputs are 1?,2 and 2 Correct Because transistors were smaller and produced less heat than vacuum tubes, they allowed for the design of smaller and faster computers.,true is one of several individuals credited for inventing the World Wide Web,tim berners-lee The Hollerith Tabulating Co. eventually became Hewlett Packard.,false became IBM What is the maximum number of items the binary search algorithm would check when searching a list with 8 items?,4 What is the maximum number of items the sequential search algorithm would check when searching a list with 8 items?,8 n the TurtleSim program, the following code is supposed to move in a square. What is the missing command? x = 4; while (x > 0) { _____________; x = x - 1; },left(90); right(90);
Background image of page 1

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

View Full DocumentRight Arrow Icon
Which of the following set of instructions defines an algorithm in the formal, strict sense?,x = 3; while (x > 0) { x = x - 1; } In the TurtleSim program, what is the command to declare a variable called y?,double y; When searching within the list (Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom) which of the following entries will be found most quickly using the sequential search algorithm?,lewis Write the value of y after the algorithm finishes x = 5; y = 7 + x;,12 Choose all numbers that will be printed by the code below? X = 5;
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

comp_sci_flashcards - Which of the following is not a...

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

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