TestOut Chapter 8
Which of the following features BEST allow a program to code faster and with less effort? (2) a. An IDE provides standard text-editing features b. An IDE allows fore saving code with filename extensions c. An IDE has a library of built-in functions d. An IDE allows projects to kept organized in folders e. An IDE can autocomplete key words
c. An IDE has a library of built-in functions e. An IDE can autocomplete key words
you are working on a program that needs to keep track of many values at the same time. Which of the following would you use? a. A consistent b. A variable c. An array d. A float
c. An array
Databases, authentication, and user accounts are all part of a website's______. a. Protocols b. Frontend c. Backend d. Full stack
c. Backend
Using HTML and CSS to provide visual elements to the end user would be considered part of a websites _______. a. Full stack b. Protocols c. Frontend d. Backend
c. Frontend
Which of the following job tasks would be something a QA specialist would do? a. Create applications for computers and mobile devices b. Write code to design, create, implement, and maintain databases. c. Monitor software development in order to maintain a high-quality product d. Use Ruby, Java, PHP, Python, and query languages like SQL
c. Monitor software development in order to maintain a high-quality product
What can a developer do to make creating a application that runs on Windows and IOS easier? a. Use the same programming language b. Increase the timeline to allow for additional work c. Use the APIs for each system d. Expand the development team to handle the additional work
c. Use the APIs for each system
Math the following
contains title of web page - <head> lets the browser know it should interpret as HTML - <html> contains all elements - <body>
Which of the following describes the procedural, or imperative, programming paradigm? a. It uses a linear, top-down approach to solving problems. b. It uses a domain-specific language (DSL) to instruct the program what needs to be done c. It uses high-level instructions instead of detailed steps d. It uses a non-linear approach to solving problems
a. It uses a linear, top-down approach to solving problems
Which of the following programming models are built from class templates that have properties, attributes, and methods? a. Objects b. Encapsulation c. Functions d. Vector
a. Objects
Which of the following BEST describes a front-ended developer? a. He or she may use Ruby, Java, PHP, and Python b. He or she is concerned with the aesthetics of a website c. He or she services the website manages user accounts d. He or she may use query languages like SQL
b. He or she is concerned with the aesthetics of a website
A software developer is working on a website and has been taken with adding interactive elements to it. Which of the following programming languages would work best? a. CSS b. JavaScript c. HTML d. C++
b. JavaScript
What does JavaScript do? a. Contains the title of the web page b. Makes web pages interactive c. Makes websites look goof d. Links digital objects to each other
b. Makes web pages interactive
Which of the following flow chart concepts is depicted below? a. Arrays b. Sequence c. Methods d. Vectors
b. Sequence
What does the following JavaScript snippet do when the code is loaded in a browser? a. Nothing, the code won't load b. Displays a button labeled "Click me" c. Displays a pop-up window d. Displays text
d. Displays text
A developer is creating an application that requires a value to be stored with decimal precision. Which of the following data types should be used for the variables that will store these values? a. String b. Integer c. Boolean d. Float
d. Float
Which of the following BEST describes a back-end developer? a. He or she controls what you see visually in your web browser when you visit a site b. He or she uses HTML, CSS , and JavaScript to determine the way website looks. c. He or she needs to male the website as user-friendly as possible d. He or she accesses information from databases and prevents unauthorized access
d. He or she accesses information from databases and prevents unauthorized accesss
Python: What does the following code do? color= input("What is your fave color?\n') print("Your fave color is %s.' % color) a. It sets the font color to the color specified in input b. It sets the font color to the color specified in the input. c. It sends the output to a printer d. It gets input and produces output
d. It gets input and produces output
Which of the following best describes a flow chart? a. It's step-by-step procedure that illustrates how a problem is solved. b . It starts at the first line and then execute one line at a time until the end be. It starts at the first line and then execute one line at a time until the end c. It does the same thing over and over and exactly the same way d. It is a visual representation of the logic in a program
d. It is a visual representation of the logic in a program
Which of the following describes programming paradigm? a. It uses detailed steps to provide instructions to a computer. b. It uses local and global variables as data types c. It uses a linear, top-down approach to solving problems. d. It uses a domain-specific language(DSL) to instruct the program what needs to be done
d. It uses a domain-specific language(DSL) to instruct the program what needs to be done
What is the term for code that keeps running as long as the certain condition is met? A branch B decision for What is the term for code that keeps running as long as the certain condition is met? a. branch b. decision c. for loop d. while loop
d. While loop
Match the following terms
Makes website elements interactive - JavaScript Adds colors, fonts, and other design elements to a website - CSS Creates website structure and content - HTML
What is the correct HTML for a hyperlink too test out?
<a href="www.testout.com">Link to the TestOut homepage</a>
Whats the proper tags for a HTML web page?
<html> <head> <body> </body> </head> </html>
What is the proper HTM tags used to create a numbered list?
<oI> <Ii>Item 1 </Ii> <Ii>Item 2</Ii> <Ii>Item3</Ii> </oI>
Which of the following would you most likely use to create an interactive web page? a. Interpreted b. Assembly c. Compiled d. Query
a. Interpreted
Which of the following logic components is being used and how much is the interest if the amount is 5,000? (Select 2) a. Branching b. Query c. 7% d. Looping e. 8%
a. Branching e. 8%
A software developer wants to provide a compiled excitable program to a customer. Which of the following computer languages would provide this capability? a. C++ b. Ruby c. Perl d. PowerShell
a. C++
On a flow chart, which of the following represents a decision? a. Diamond b. Arrow c. Parallelogram d. rectangle
a. Diamond
In which of the following careers does one usually work together in teams to create software programs? a. Application developer b. Web developer c. Database programer d. Quality assurance engineer
a. . Application developer
A person that can use HTML, CSS, and JavaScript to create websites (as well as service the website and manage accounts) is known as which of the following? a. A full-stack web developer b. An application developer c. A database programmer d. A quality assurance engineer.
a. A full-stack web developer
Which programming language type is the most basic human-readable and closest to actual machine language? a. Assembly b. Query c. Interpreted d. Complied
a. Assembly
In object-oriented programming, which of the following concepts used to describe properties? a. Attributes b. Methods c. Polymorphism d. Encapsulation
a. Attributes
A developer is creating a program that will store a customers latest order number. The value will change each time a customer creates a new order. Which of the following would MOST likely be used to store the value? a. Variable b. Array c. Object d. Constant
a. Variable
Which of the following can be used by a programmer to debug code? a. integrated development environment (IDE) b. Word processor c. Application programming interface (API) d. Text editor
a. integrated development environment (IDE)
Which of the following would be the best to program a logic component that will allow a user to enter a series of values? a. Looping b. branching c. Case statement d. Scripting
a. looping
Select tags you MUST use to have a proper HTML document. (3) a. <a> b. <html> c. <body> d. <p> e. <head> f. <div> g. <h1>
b. <html> c. <body> e. <head>
A software developer wants to add a custom Google Map to a customer's website. Which of the following would the developer use to accomplish this? a. Cascading Style Sheets (CSS) b. Application programming interface (API) c. Integrated developed environment (IDE) d. The C# programming language
b. Application programming interface (API)
Which of the following is a programming identifier that would be used to define values that don't change? a. Variables b. Constants c. Vectors d. Arrays
b. Constants
Python: Which of the following would be used to make the random function available? a. load random b. import random c. export random d. set num = random()
b. import random
After running the following procedure, what will the value of VARIABLE be? 1. Set the VARIABLE to 5. 2. Increase the value of VARIABLE by 3. 3. If the value of VARIABLE is odd, increase the value by 1. 4. If the vale of VARIABLE is even, increase its value by 1. 5. If the value of VARIABLE is odd, increase its value by 1. a. 8 b. 9 c. 10 d. 11
c. 10
A programmer is creating an application that needs to store a value indication if the user is logged on or not. Which of the following would be the BEST data type to accomplish this? a. Float b. Integer c. String d. Boolean
d. Boolean
If the user is logged in, the checkout process continues, otherwise, the user is prompted to sign in. Which of the following describes the logical component being used? a. Programming array b. Encapsulation c. Looping d. Branching
d. Branching
How many heading tags are available for heading and subheading when using HTML? a. 8 b. 4 c. 2 d. 6
d. 6
Which of the following tags contain all the elements that will be presented on the visual portion of a website? a. <p></p> b. <div></div> c. <head></head> d. <body></body>
d. <body></body>
Jessica, a programmer, has created specific statements, including conditional loops to accomplish a task. What has she created? a. Pseudocode b. Flowchart c. Software d. Algorithm
d. Algorithm