pt3

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

The table below shows the time a computer system takes to complete a specified task on the customer data of different-sized companies. The figure shows a table with 4 columns and 5 rows. The top row contains the column labels, from left to right; column 1, Task; column 2, Small Company (approximately 100 customers); column 3, Medium Company (approximately 1,000 customers); column 4, Large Company (approximately 10,000 customers). From top to bottom, the data is as follows: Row 2; Task, Backing up data, Small Company, 2 hours, Medium Company, 20 hours, Large Company, 200 hours. Row 3; Task, Deleting entries from data, Small Company, 100 hours, Medium Company, 200 hours, Large Company, 300 hours. Row 4; Task, Searching through data, Small Company, 250 hours, Medium Company, 300 hours, Large Company, 350 hours. Row 5; Task, Sorting data, Small Company, 0.01 hours, Medium Company, 1 hour, Large Company, 100 hours. Based on the information in the table, which of the following tasks is likely to take the longest amount of time when scaled up for a very large company of approximately 100,000 customers?

Backing up data

A programmer is writing a program that is intended to be able to process large amounts of data. Which of the following considerations is LEAST likely to affect the ability of the program to process larger data sets?

How much memory the program requires as it runs

12

This option is incorrect. Digital information that is saved in one location on a computer can be saved to another location exactly, with no change in sound quality.

10

This option is incorrect. In order to answer this question, the data set would need to contain information identifying the name of the college.

15

This option is incorrect. Line 6 and line 7 are both inside the FOR EACH loop. Interchanging them will not affect the number of operations performed. In addition, as a result of the interchanging, average will be calculated before sum is updated, and the final value of average calculated during the last iteration of the loop will be incorrect.

6

This option is incorrect. The IP address of a user's computer is required for the user to send and receive information on the Internet. The IP address in itself does not contain any extra information about the user.

7

This option is incorrect. The database can be filtered to identify the rows in which entries in the City column match a certain city. Those rows can be filtered to identify the rows that fall within a certain month. By summing the Number of Times Purchased values for the filtered rows, the total number of movies purchased in a certain city during a certain month can be calculated.

20

This option is incorrect. The program does not work as intended. On the test case [9, 1, 4, 5], the program displays 28 but the correct sum is 19.

22

This option is incorrect. The robot turns right one, two, or three times and cannot end up in a square above its initial position.

2

This option is incorrect. The value of variable b is stored in the variable a. Then the value of the variable a (which now contains the original value of the variable b) is stored in the variable temp. Finally, the value of the variable temp (which now contains the original value of the variable b) is stored in the variable b. Both a and b store the original value of b.

17

This option is incorrect. While removing four links could isolate computer F from computer E, it is not the minimum number required to accomplish this.

An office building has two floors. A computer program is used to control an elevator that travels between the two floors. Physical sensors are used to set the following Boolean variables. The figure shows a table with 2 columns and 5 rows. The top row contains the column labels, from left to right; column 1, Variable; column 2, Description. From top to bottom, the data is as follows: Row 2; Variable, onFloor1, Description, set to true if the elevator is stopped on floor 1; otherwise set to false. Row 3; Variable, onFloor2, Description, set to true if the elevator is stopped on floor 2; otherwise set to false. Row 4; Variable, callTo1, Description, set to true if the elevator is called on floor 1; otherwise set to false. Row 5; Variable, callTo2, Description, set to true if the elevator is called on floor 2; otherwise set to false. The elevator moves when the door is closed and the elevator is called to the floor that it is not currently on. Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move?

(onFloor1 AND callTo2) AND (onFloor2 AND callTo1) A

Consider the following code segment, which uses the variables r, s, and t. r ← 1 s ← 2 t ← 3 r ← s s ← t DISPLAY (r) DISPLAY (s) What is displayed as a result of running the code segment?

23

A video-streaming Web site uses 32-bit integers to count the number of times each video has been played. In anticipation of some videos being played more times than can be represented with 32 bits, the Web site is planning to change to 64-bit integers for the counter. Which of the following best describes the result of using 64-bit integers instead of 32-bit integers?

322 times as many values can be represented.

The figure below represents a network of physically linked computers labeled A through G. A line between two computers indicates that the computers can communicate directly with each other. Any information sent between two computers that are not directly connected must go through at least one other computer. For example, information can be sent directly between computers A and B, but information sent between computers A and C must go through other computers. A diagram of a network is shown. The letters A through G are shown, each in a circle. A is in the lower left. B is to the right of A, and connected to it by a straight line. C is to the right and up from B, and connected to it by a straight line. D is to the right and up from C, and it is connected to C by a straight line and to B by a curved line that goes around C from below. E is to the left and down from D, directly above B. E is connected to D, C, and A by straight lines. F is to the right of E, above and to the left of A. F is connected to E and A by straight lines. G is to the right and up from F, directly above A and to the left of D. G is connected to F and D by straight lines. What is the minimum number of connections that must be broken or removed in the network before computer E can no longer communicate with computer F?

4

Which of the following best explains what happens when a new device is connected to the Internet?

A packet number is assigned to the device

There are 32 students standing in a classroom. Two different algorithms are given for finding the average height of the students. Algorithm A Step 1: All students stand. Step 2: A randomly selected student writes his or her height on a card and is seated. Step 3: A randomly selected standing student adds his or her height to the value on the card, records the new value on the card, and is seated. The previous value on the card is erased. Step 4: Repeat step 3 until no students remain standing. Step 5: The sum on the card is divided by 32. The result is given to the teacher. Algorithm B Step 1: All students stand. Step 2: Each student is given a card. Each student writes his or her height on the card. Step 3: Standing students form random pairs at the same time. Each pair adds the numbers written on their cards and writes the result on one student's card; the other student is seated. The previous value on the card is erased. Step 4: Repeat step 3 until one student remains standing. Step 5: The sum on the last student's card is divided by 32. The result is given to the teacher. Which of the following statements is true?

Algorithm A always calculates the correct average, but Algorithm B does not.

Consider the following numbers. Binary 1100 Decimal 11 Hexadecimal D Which of the following lists the numbers in order from least to greatest?

Binary 1100, Decimal 11, Hexadecimal D

A code segment will be used to swap the values of the variables a and b using the temporary variable temp. Which of the following code segments correctly swaps the values of a and b ?

Choice A has three boxes in a column.In choice A the top box reads a left arrow b, the middle box reads temp left arrow a, and the bottom box reads b left arrow temp.

The procedure Draw (length, direction) is used to draw a line segment length units long in a given direction (left, right, up, or down), starting at the current cursor position. The cursor is then repositioned at the end of the line segment that was drawn. Consider the following program, where the cursor starts in the upper left corner of a grid of dots. The dots are spaced one unit apart. Draw (1, right) Draw (2, down) Draw (1, left) Draw (1, right) Draw (1, up) Draw (1, left) Which of the following represents the figure that is drawn by the program?

Choice A shows a three by three square grid of dots with line segments connecting certain dots. In choice A there are line segments in the first column connecting the first to second and second to third dots, and in all three rows connecting the first and second dots.

The figure below shows a robot in a grid of squares. The robot is represented as a triangle, which is initially facing upward. The robot can move into a white or gray square but cannot move into a black region. A 5 by 5 grid, with one gray square and the others either black or white. One of the squares contains a triangle, representing a robot, facing the top of the grid. The white squares represent a path through the grid that staffs at the robot's square and ends at the gray square. The squares of the grid are filled as follows, from left to right and top to bottom: Row one: black, black, black, black, gray. Row two: black, black, black, black, white. Row three: white white white white white. Row four: white, black, black, black, black. Row five: robot facing the top of grid, black, black, black, black. Consider the procedure MoveAndTurn below. Five lines of block code with some of the lines indented. Begin block Line one: all capital, PROCEDLIRE, Move and Turn, begin block, num Moves closed up with initial capital M, comma, num Turns closed up with initial capital T, end block. Begin block Begin block Line two is indented one tab: all capital REPEAT, num Moves, closed up with initial capital M, all capital TIMES. Line three is indented two tabs: begin block, all capital, MOVE underscore FORWARD, end block. End block Begin block Line four is indented one tab: all capital REPEAT, num Turns closed up with initial capital T, all capital TIMES. Line five is indented two tabs: begin block, all capital, ROTATE underscore RIGHT, end block. End block End block End block Which of the following code segments will move the robot to the gray square?

Choice B has three boxes in a column. In choice B the top box reads MoveAndTurn, then 2,1 in a rectangle. The middle box reads MoveAndTurn, then 4, 1 in a rectangle. The bottom box reads MoveAndTurn, then 2, 0 in a rectangle.

The following question uses a robot in a grid of squares. The robot is represented as a triangle, which is initially in the bottom left square of the grid and facing right. A 5 by 5 grid with a right-facing triangle at the bottom of the first column. Consider the following code segment, which moves the robot in the grid. The block code consists of six lines. Some of the lines of code are indented. Line one: begin block, n, left arrow, three end block. Begin block Line two: in capital letters, REPEAT 3 TIMES Begin block Begin block Line three indented one tab, reads REPEAT n TIMES. Line four, indented two tabs, reads MOVE underscore FORWARD. Line five indented one tab, reads ROTATE underscore LEFT. Line six, indented one tab, reads n left arrow n minus one. End block End block Which of the following shows the location of the robot after running the code segment?

Choice B is a five by five square grid with a triangle pointing down in one of the squares. In choice B, the triangle is in the square in the second column and third row.

The question below uses a robot in a grid of squares. The robot is represented as a triangle, which is initially in the center square of the grid and facing toward the top of the grid. A five by five square grid is shown. A triangle pointing up is shown in the box in the center of the grid, in the third row and third column. The following code segment is used to move the robot within the grid. text... A gray square represents a possible final location of the robot after the code segment is executed. Which of the following represents all possible final locations for the robot?

Choice D is a five by five square grid with a triangle pointing up in the center square, in the third column and third row. In choice D all the squares in the third row and all the squares in the third column are shaded grey except the center square that is in both the third column and row.

Which of the following statements describes a limitation of using a computer simulation to model a real-world object or system?

Computer simulations usually make some simplifying assumptions about the real-world object or system being modeled.

Digital images are often represented by the red, green, and blue values (an RGB triplet) of each individual pixel in the image. A photographer is manipulating a digital image and overwriting the original image. Which of the following describes a lossless transformation of the digital image?

Creating the gray scale of an image by averaging the amounts of red, green, and blue in each pixel and assigning this new value to the corresponding pixel in the new image. The new value of each pixel represents a shade of gray, ranging from white to black.

Biologists often attach tracking collars to wild animals. For each animal, the following geolocation data is collected at frequent intervals. The time The date The location of the animal Which of the following questions about a particular animal could NOT be answered using only the data collected from the tracking collars?

Do the movement patterns of the animal vary according to the weather? C

The procedure below is intended to display the index in a list of unique names (nameList) where a particular name (targetName) is found. If targetName is not found in nameList, the code should display 0. text... Which of the following procedure calls can be used to demonstrate that the procedure does NOT work as intended?

FindName (["Andrea", "Ben", "Chris"], "Ben")

A car manufacturer uses simulation software during the design process for a new car. Which of the following are reasons to use simulation software in this context? Using simulation software can save the company money by helping to compare designs early in the process, before prototype cars are built. Using simulation software can help to identify safety issues by providing data about how different mechanical components will interact in a wide variety of situations. The manufacturer can present simulation software to customers to demonstrate different design possibilities.

I, II, and III

A programmer wrote the code segment below to display the average of all the elements in a list called numbers. There is always at least one number in the list. text... The programmer wants to reduce the number of operations that are performed when the program is run. Which change will result in a correct program with a reduced number of operations performed?

Interchanging line 6 and line 7

Many Web browsers allow users to open anonymous windows. During a browsing session in an anonymous window, the browser does not record a browsing history or a list of downloaded files. When the anonymous window is exited, cookies created during the session are deleted. Which of the following statements about browsing sessions in an anonymous window is true?

Items placed in a Web store's shopping cart for future purchase during the anonymous browsing session will not be saved on the user's computer.

An algorithm will be used to identify the maximum value in a list of one or more integers. Consider the two versions of the algorithm below. Algorithm I : Set the value of a variable max to − 1. Iterate through the list of integer values. If a data value is greater than the value of the variable max, set max to the data value. Algorithm II : Set the value of a variable max to the first data value. Iterate through the remaining values in the list of integers. If a data value is greater than the value of the variable max, set max to the data value. Which of the following statements best describes the behavior of the two algorithms?

Neither algorithm will correctly identify the maximum value when the input contains both positive and negative input values.

Two grids are shown below. Each grid contains a robot represented as a triangle. Both robots are initially facing left. Each robot can move into a white or gray square, but cannot move into a black region. Two grids are shown, each three boxes across and five boxes high. The grid on the left is labeled Grid 1 and the grid on the right is labeled Grid 2. Each grid has a grey square in the upper left corner and an arrow pointing to the left in the square in the lower right corner. In Grid 1 the first two squares in the second row and the last two squares in the fourth row are black. In Grid 2 the first and third squares in the second row, the third square in the third row, and the last two squares in the fourth row are black. The remaining squares are white in both grids. For each grid, the program below is intended to move the robot to the gray square. The program uses the procedure Goal_Reached ( ), which evaluates to true if the robot is in the gray square and evaluates to false otherwise. text... For which of the grids does the program correctly move the robot to the gray square?

Neither grid I nor grid II

Programs I and II below are each intended to calculate the sum of the integers from 1 to n. Assume that n is a positive integer (e.g., 1, 2, 3, ...). Two segments of code is shown. The code on the left has the title Program 1, and the code on the right has the title Program 2. At the top of each are two white boxes on top of each other that read i left arrow n in the top box and result left arrow 0 in the bottom box. This is at the top left corner of a larger grey box, at the top of which it reads REPEAT n TIMES. Below this in the grey box and indented is a white box with two smaller white boxes inside on top of each other. The top box reads result left arrow result plus i. The bottom box reads i left arrow i plus 1 in Program 1 and i left arrow i minus 1 in Program 2. Below the larger grey box at its lower left corner is a white box that reads DISPLAY, then result, which is in a rectangle. Which of the following best describes the behavior of the two programs?

Program II displays the correct sum, but program I does not.

Which of the following is considered an unethical use of computer resources?

Purchasing a single-user copy of photo editing software and installing it on all the computers in a computer lab

Which of the following is a true statement about data compression?

Regardless of the compression technique used, once a data file is compressed, it cannot be restored to its original state.

A student is recording a song on her computer. When the recording is finished, she saves a copy on her computer. The student notices that the saved copy is of lower sound quality than the original recording. Which of the following could be a possible explanation for the difference in sound quality?

Some information is lost every time a file is saved from one location on a computer to another location.

A program is expressed in a programming language. Which of the following is true of the program?

The program cannot be expressed as binary code, because binary code can only be used to represent data.

Which of the following is a true statement about cloud computing?

Storing data using cloud computing can help ensure that data are not lost if a user's computer stops functioning.

Which of the following has the greatest potential for compromising a user's personal privacy?

The Internet Protocol (IP) address of the user's computer

Both online newspapers and social media sites are used to distribute information on the Internet. Which of the following best describes an advantage that online newspapers have over social media sites?

The ability to distribute information instantaneously

Two computers are built by different manufacturers. One is running a Web server and the other is running a Web browser. Which of the following best describes the ability of the two computers to communicate with each other across the Internet?

The computers can communicate, but additional hardware is needed to convert data packets from one computer's protocol to the other computer's protocol.

A programmer wrote the program below. The program uses a list of numbers called numList. The program is intended to display the sum of the numbers in the list. A segment of code is shown. At the top is a white box that reads sum left arrow numList, then the number 1 in a square. This is at the top left corner of a larger grey box, at the top of which it reads FOR EACH value IN numList. Below this in the grey box and indented is a white box that reads sum left arrow sum plus value. Below the larger grey box at its lower left corner is a white box that reads DISPLAY, then sum, which is in a rectangle. In order to test the program, the programmer initializes numList to [0, 1, 4, 5]. The program displays 10, and the programmer concludes that the program works as intended. Which of the following is true?

The conclusion is correct; the program works as intended.

In the procedure Mystery below, the parameter number is a positive integer. text... Which of the following best describes the result of running the procedure Mystery?

The procedure returns true when the initial value of number is odd, and it otherwise returns false.

The program segment below is intended to move a robot in a grid to a gray square. The program segment uses the procedure GoalReached, which evaluates to true if the robot is in the gray square and evaluates to false otherwise. The robot in each grid is represented as a triangle and is initially facing left. The robot can move into a white or gray square but cannot move into a black region. text... For which of the following grids does the program NOT correctly move the robot to the gray square?

The figure shows a grid of squares with three columns and five rows. One square is gray and the others are either black or white. One of the squares contains a left-facing triangle, representing a robot. The white squares represent a path through the grid that staffs at the robot's square and ends at the gray square. Choice A: The squares of the grid are filled as follows, from left to right and top to bottom: Row one: white white, gray. Row two: white black, black. Row three: white black, black. Row four: white black, black. Row five: white white robot facing left.

Consider the following program code. The block code consists of seven lines with some of the lines indented. Line one: begin block, lowercase i left arrow zero end block. Line two: begin block, sum left arrow zero end block. Begin block Line three: all capital REPEAT UNTIL, begin block, lowercase i equals four, end block. Begin block. Line four is indented one tab: begin block, i left arrow one end block. Line five is indented one tab: begin block, sum left arrow sum plus lowercase i, end block. Line six is indented one tab: begin block, lowercase i left arrow lowercase i plus one end block. End block, end block. Line seven: begin block, all capitals DISPLAY, begin block, sum, end block. End block. Which of the following best describes the result of running the program code?

The number 10 is displayed.

The diagram below shows a circuit composed of two logic gates labeled OR and AND. Each gate takes two inputs and produces a single output. A circuit diagram is shown. At the top are two circles next to each other. The left circle reads A and the right circle reads B. There are arrows pointing down from both circles to the top of a box that reads OR. An arrow points from the bottom of the box reading OR to the top of a box reading AND. Another circle is below the box reading OR. The circle reads C and there is an arrow pointing down from this circle to the top of the box reading AND. An arrow points down from the bottom of the box reading AND to the word output. If the inputs A and C are both true, which of the following best describes the output of the AND gate?

The output will be true if input B is true; otherwise it will be false.

A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the following best describes how the file is sent to the user?

The server repeatedly attempts to connect directly to the user's computer until a connection is made. Once the connection is made, the entire file is sent.

A new bank plans to make customer convenience a priority by minimizing the amount of time a customer waits in line. The bank is considering two options: a single line where the customer at the front waits for the next available teller, or separate lines for each teller. The bank decides to use a computer simulation of these two options to determine the average wait time for customers. Which of the following is NOT true about the bank's plan?

The simulation will not produce usable results because actual customer data are not available.

A cable television company stores information about movie purchases made by subscribers. Each day, the following information is summarized and stored in a publicly available database. The day and date each movie was purchased The title of each movie purchased The cities where subscribers purchased each movie The number of times each movie was purchased by subscribers in a given city A sample portion of the database is shown below. The database is sorted by date and movie title. A table is shown with four columns titled Day and Date, Movie Title, City, and Number of Times Purchased. The first row reads Saturday 1/5/2014, Movie A, Houston Texas, and 1. The second row reads Saturday 1/5/2014, Movie A, Detroit Michigan, and 2. The third row reads Saturday 1/5/2015, Movie B, Houston Texas, and 1. The fourth row reads Saturday 1/5/2014, Movie C, Anchorage Alaska, and 1. The fifth row reads Sunday 1/6/2014, Movie A, Wichita Kansas, and 3. Which of the following CANNOT be determined using only the information in the database?

The total number of movies purchased in a certain city during a particular month

The figure below shows a circuit composed of two logic gates. The output of the circuit is true. Figure showing a logical circuit. From top to bottom, the circuit begins with two circles side by side. The circle on the left is labeled false and the circle on the right is labeled A. An arrow points down from each circle and points to a rectangle labeled OR. Just below and to the left of the rectangle is another circle labeled true. An arrow points down from the rectangle and from the circle to a rectangle labeled AND. An arrow points from this rectangle down to the word true. Which of the following is a true statement about input A?

There is no possible value of input A that will cause the circuit to have the output true.

4

This option is correct. Although actual customer data is not available in the bank's simulation, it can give information that relates the average customer wait time for each option.

5

This option is correct. Because the cookies created during the anonymous browsing session were deleted, no information exists in the browser to inform future visits to the same website. Thus, any shopping cart items will not be available for future purchase.

9

This option is correct. Cloud computing uses the Internet to store data on servers that are backed up in fail-safe ways. If a user's computer were to stop functioning, the user could access his or her cloud data from another computer.

3

This option is correct. The procedure will not display the correct value of foundIndex if the targetName is "Ben". In the FOR EACH loop, when the value of name is "Andrea", the ELSE statement sets foundIndex to 0. When the value of name is "Ben", the ELSE statement sets foundIndex to 1. But as the loop continues, and the value of name is "Chris", the ELSE statement sets foundIndex to 0. The procedure displays 0, even though the correct answer is 1.

19

This option is incorrect. Algorithm II will correctly identify the maximum value in all cases, including when the input contains both positive and negative input values.

8

This option is incorrect. By converting the red, green, and blue values in each pixel into a single number, information has been lost that cannot be restored. Related Content & Skills Big Idea BI 3 EK 3.3.1.D EU 3.3 LO 3.3.1 Computational Thinking Practices

14

This option is incorrect. Converted to decimal, binary 1100 equals decimal 12 and hexadecimal D equals decimal 13. The list 12, 11, 13 is not in order from least to greatest.

A programmer is deciding between using a linear or binary search to find a target value in a sorted list. Which of the following is true?

Using a linear search is preferable to using a binary search if there is a chance that the target may not be found in the list.

An Internet service provider (ISP) is considering an update to its servers that would save copies of the Web pages most frequently visited by each user. Which of the following is LEAST likely to occur as a result of the update?

Web sites that are not visited frequently might no longer be accessible to users.

A large data set contains information about all students majoring in computer science in colleges across the United States. The data set contains the following information about each student. The student's gender The state in which the student attends college The student's grade point average on a 4.0 scale Which of the following questions could be answered by analyzing only information in the data set?

Which college has the highest number of students majoring in computer science? D

ASCII is a character-encoding scheme that uses 7 bits to represent each character. The decimal (base 10) values 65 through 90 represent the capital letters A through Z, as shown in the table below. Two tables are shown, each with two columns. The left column of each is titled Decimal and the right ASCII Character. The first table has values 65 through 77 in the left column and letters A through M in the right column. The second table has values 78 through 90 in the left column and letters N through Z in the right column. What ASCII character is represented by the binary (base 2) number 1001010 ?

j

ASCII is a character-encoding scheme that uses a numeric value to represent each character. For example, the uppercase letter "G" is represented by the decimal (base 10) value 71. A partial list of characters and their corresponding ASCII values are shown in the table below. Two tables are shown with two columns and fourteen rows each. The first row of each table contains the column headers from left to right, Decimal, and ASCII Character. The table on the left contains ASCII Characters capital A through capital M, and the table on the right contains ASCII characters capital N through capital Z. The left table is as follows: Decimal sixty five, character A. Decimal sixty six, character B. Decimal sixty seven, character C. Decimal sixty eight, character D. Decimal sixty nine character E. Decimal seventy, character F. Decimal seventy one character G. Decimal seventy two, character H. Decimal seventy three character I. Decimal seventy four, character J. Decimal seventy five, character K. Decimal seventy six, character L. Decimal seventy seven, character M. The right table is as follows: Decimal seventy eight, character N. Decimal seventy nine character O. Decimal eighty, character P. Decimal eighty one, character Q. Decimal eighty two, character R. Decimal eighty three character S. Decimal eighty four, character T. Decimal eighty five, character U. Decimal eighty six, character V. Decimal eighty seven, character W. Decimal eighty eight, character X. Decimal eighty nine character Y. Decimal ninety, character Z. ASCII characters can also be represented by hexadecimal numbers. According to ASCII character encoding, which of the following letters is represented by the hexadecimal (base 16) number 56?

l

A summer camp offers a morning session and an afternoon session. The list morningList contains the names of all children attending the morning session, and the list afternoonList contains the names of all children attending the afternoon session. Only children who attend both sessions eat lunch at the camp. The camp director wants to create lunchList, which will contain the names of children attending both sessions. The following code segment is intended to create lunchList, which is initially empty. It uses the procedure IsFound (list, name), which returns true if name is found in list and returns false otherwise. text... Which of the following could replace <MISSING CODE> so that the code segment works as intended?

text...

In the program below, y is a positive integer (e.g., 1, 2, 3, ...) A segment of code is shown. At the top is a white box that reads result left arrow 0. This is at the top left corner of a larger grey box, at the top of which it reads REPEAT 3 TIMES. Below this in the grey box and indented is a smaller grey box with a white border that reads REPEAT y TIMES at the top. There is a smaller white indented box inside this smaller grey box that reads result left arrow result plus 1. What is the value of result after running the program?

y + 3


Ensembles d'études connexes

Macroeconomics Exam 3: (Ch. 10-12)

View Set

chapter 13- conflict and negotiation

View Set

Digital electronics book 1 fundamentals

View Set

Chapter 11: Relationship Marketing and Customer Relationship Management (CRM)

View Set

Comparisons between the Stuctures of the American and Israeli Governments

View Set