Presentation is loading. Please wait.

Presentation is loading. Please wait.

Review Test 3 CS 101 Spring 2015. If the rabbit is facing the door rabbit.move (two meters) else rabbit.turntoface(door) This is an example of which control.

Similar presentations


Presentation on theme: "Review Test 3 CS 101 Spring 2015. If the rabbit is facing the door rabbit.move (two meters) else rabbit.turntoface(door) This is an example of which control."— Presentation transcript:

1 Review Test 3 CS 101 Spring 2015

2 If the rabbit is facing the door rabbit.move (two meters) else rabbit.turntoface(door) This is an example of which control structure? 1.A loop / repetition 2.A branch / selection 3.A sequence 4.A module

3 CPUs understand 1.English 2.High level languages 3.Machine language 4.pseudocode

4 The “or” operator in a query 1.Will give more results than an “and” operator 2.Is expressed by putting different criteria on different lines in the query table 3.Will give a hit only if both criteria are satisfied 4.None of the answers

5 Referential integrity has to do with A.DBMS enforcing relationships between tables B.A DNS server translating between IP numbers and domain names C.HTML code being interpreted by a browser D.A translator changing high-level code to machine code

6 A(n) ____ translates high-level language to machine language. 1.Editor 2.Debugger 3.Syntax checker 4.compiler

7 A syntax error happens when A.The program tries to divide by zero B.The programmer misspells a keyword in the language C.The programmer multiplied by 10 when they mean to multiply by 100 D.The program tries to open a file that does not exist

8 In Alice, ___ would be a method. 1.A penguin 2.Penguin.talk 3.Penguin.isbelow 4.A mouse click 5.None of the above

9 An algorithm is 1.a low-level language translator 2.a set of instructions to solve a problem 3.a compiler 4.something only programmers use

10 The HTML tag <a href= 1.creates a table 2.starts a hyperlink 3.ends with a 4.has a URL in it 5.all the answers but #1

11 A loop in a program is A.An error and has to be fixed B.A data structure C.A control structure D.A selection structure

12 A browser is made to interpret A.Binary codes and show the calculations on the screen B.HTML and show a web page on the screen C.ASCII codes and show the Unicode D.A programming language like Java and show the result

13 An HTML tag is used A.To draw a horizontal line across the screen B.To start a new list item in a list C.To start a new row in a table D.To make a word underlined

14 The HTML tag A.Creates a big header at the top of the web page B.Puts a message in the title bar of the browser window C.Gives the default value for the bookmark text for that page D.B and C

15 The World Wide Web was created by A.Microsoft B.Oracle C.ICANN D.Tim Berners-Lee


Download ppt "Review Test 3 CS 101 Spring 2015. If the rabbit is facing the door rabbit.move (two meters) else rabbit.turntoface(door) This is an example of which control."

Similar presentations


Ads by Google