1 / 17

Review Test 3

Review Test 3. CS 101 Spring 2014. If the rabbit is facing the door rabbit.move (two meters) else rabbit.turntoface (door) This is an example of which control structure?. A loop / repetition A branch / selection A sequence A module. CPUs understand. English High level languages

caden
Download Presentation

Review Test 3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Review Test 3 CS 101 Spring 2014

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

  3. CPUs understand • English • High level languages • Machine language • pseudocode

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

  5. A(n) ____ translates high-level language to machine language. • Editor • Debugger • Syntax checker • compiler

  6. Third generation programming languages • Are obsolete, replaced by fourth generation languages • Are assembly languages • Include languages like Java, Basic and C. • Are used mainly to program games

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

  8. In Alice, ___ would be a method. • A penguin • Penguin.talk • Penguin.isbelow • A mouse click • None of the above

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

  10. The HTML tag <a href= • creates a table • starts a hyperlink • ends with a </a> • has a URL in it • all the answers but #1

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

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

  13. If you have an asymmetric Internet connection • You need to get it fixed before it gets worse • You have more bandwidth uploading than downloading • You have the same amount of bandwidth in both directions • None of the answers is right

  14. An HTML tag <li> is used • To draw a horizontal line across the screen • To start a new list item in a list • To start a new row in a table • To make a word underlined

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

  16. The World Wide Web was created by • Microsoft • Oracle • ICANN • Tim Berners-Lee

  17. The benefits of cloud computing include: • Portability • Scalability • Cost saving • Maintenance free • All of these answers

More Related