Chapter 8 exam guide

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Drag the correct HTML tag on the left to its description on the right. 1: Contains the title of the web page, links to stylesheets, and metadata to help search engines find the page. 2: Lets the browser know that it should interpret the document as HTML. 3: Contains all the elements that will be presented on the screen. a: <head> b: <html> c: <body>

1: a 2: b 3: c

Match each language to its general purpose in a website. 1: Makes website elements interactive 2: Adds colors, fonts, and other design elements to website 3: Creates website structure and content a: HTML b: JavaScript c: CSS

1:b 2:c 3:a

To be a proper HTML document, there are a few tags that every web page needs. Put these tags in the proper order. <head> </body> </html> <body> </head> <html>

<html> <head> </head> <body> </body> </html>

Which of the following can be used by a programmer to debug code? a: text editor b: word processor c: application programming interface (API) D: integrated development environment (IDE)

D: integrated development environment (IDE)

Which of the following logic components is being used and how much is the interest if the amount is 5,000? (Select two.) IF amount < 5,000 THEN interest = 7%, ELSE interest = 8%. a: 8% b: looping c: query d: 7% e: branching

a: 8% e: branching

You want to have a hyperlink to testout.com on your web page. What is the correct HTML syntax to accomplish this? a: <a href="www.testout.com">Link to the TestOut homepage</a> b: <a href="www.testout.com"></a> c: <a href=>Link to the TestOut.com homepage</a> d: <a href=www.testout.com>

a: <a href="www.testout.com">Link to the TestOut homepage</a>

A software developer wants to provide a compiled executable program to a customer. Which of the following computer languages would provide this capability? a: C++ b: perl c: PowerShell d: Ruby

a: C++

Python is a general purpose programming language that is popular for creating websites and mobile applications. Python is known as a readable and user-friendly language. What does the following code do? color = input('What is your favorite color?\n')print('Your favorite color is %s.' % color) a: It gets input and produces output. b: It sends the output to a printer. c: It sets the font color to the color specified in the input. d: It sets the system color variable.

a: It gets input and produces output.

Which of the following describes the declarative programming paradigm? a: It uses a domain-specific language (DSL) to instruct the program what needs to be done. b: It uses detailed steps to provide instructions to a computer. c: It uses local and global variables as data types. d:It uses a linear, top-down approach to solving problems.

a: It uses a domain-specific language (DSL) to instruct the program what needs to be done.

A programming paradigm is a method used to program a computer that guides the solving of a problem or performing of a task. 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 non-linear approach to solving problems. c:It uses high-level instructions instead of detailed steps. d:It uses a domain-specific language (DSL) to instruct the program what needs to be done.

a: It uses a linear, top-down approach to solving problems.

A software developer is working on a website and has been tasked with adding interactive elements to it. Which of the following programming languages would work BEST for this task? a: JavaScript b: CSS c: C++ d: HTML

a: JavaScript

On a flowchart, which of the following represents a decision? a: diamond b: parallelogram c: arrow d: rectangle

a: diamond

Alan, a programmer, needs to create an interactive web page. Which of the following programming languages types would he MOST likely use? a: interpreted b: compiled c: query d: assembly

a: interpreted

How many heading tags are available for heading and subheading when using HTML? a: 2 b: 6 c: 8 d: 4

b: 6

Which of the following features of an integrated development environment (IDE) BEST allow a programmer to code faster and with less effort? (Select two.) a: An IDE allows for saving code with filename extensions. b: An IDE can autocomplete key words. c:An IDE allows projects to be kept organized in folders. d: An IDE has a library of built-in functions. e: An IDE provides standard text-editing features.

b: An IDE can autocomplete key words. d: An IDE has a library of built-in functions.

Which of the following BEST describes a back-end developer? a: He or she uses HTML, CSS, and JavaScript to determine the way a website looks. b: He or she accesses information from databases and prevents unauthorized access. c: He or she needs to make the website as user-friendly as possible. d: He or she controls what you see visually in your web browser when you visit a site.

b: He or she accesses information from databases and prevents unauthorized access.

A software developer wants to create an application that will work on Windows and Apple iOS operating systems. What can the developer do to make this task easier? a: Increase the timeline to allow for the additional work. b: Use the APIs for each operating system. c: Expand the development team to handle the additional work. d: Use the same programming language for both operating systems.

b: Use the APIs for each operating system.

In which of the following careers does one usually work together in teams to create software programs? a: web developer b: application developer c: quality assurance engineer d: database programmer

b: application developer

Python provides programming functions that can be used by a software developer. Which of the following would be used to make the random function available? a: set num = random() b: import random c: load random d: export random

b: import random

Which of the following flow chart concepts is depicted below? a: arrays b: sequence c: vectors d: methods

b: sequence

Which of the following are the proper HTML tags used to create a numbered list? a: <ol> <ol>Item 1</ol> <ol>Item 2</ol> <ol>Item 3</ol> </ol> b: <ol> <a>Item 1</a> <a>Item 2</a> <a>Item 3</a> </ol> c: <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol> d: <ol> <i>Item 1</i> <i>Item 2</i> <i>Item 3</i> </ol>

c: <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol>

After running the following pseudocode, what will the value of VARIABLE be? 1. Set value of VARIABLE to 5 2. Increase the value of VARIABLE by 3 3. If the value of VARIABLE is odd, increase its value by 1 4. If the value 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

Which of the following tags contains all the elements that will be presented on the visual portion of a website? a: <div></div> b: <head></head> c: <body></body> d: <p></p>

c: <body></body>

What does the following JavaScript code snippet do when the code is loaded in a browser? a: Displays a button labeled "Click me!" b: Nothing, this code will not load in a browser c: Displays the text "My JavaScript Button" and a button labeled "Click me!" d: Displays a pop-up window with the message "You are coding with JavaScript!"

c: Displays the text "My JavaScript Button" and a button labeled "Click me!"

Which of the following BEST describes a front-end developer? a: He or she may use query languages like SQL. b: He or she may use Ruby, Java, PHP, and Python. c: He or she is concerned with the aesthetics of a website. d: He or she services the website and manages user accounts.

c: He or she is concerned with the aesthetics of a website.

Which programming language type is the most basic human-readable and closest to actual machine language? a: query b: interpreted c: assembly d: compiled

c: assembly

A programmer is creating an application that needs to store a value indicating if the user is logged in or not. Which of the following would be the BEST data type to accomplish this? a: integer b: float c: boolean d: string

c: boolean

A user is shopping online and has added two items to the cart. When the user clicks the Checkout button, the shopping cart programming logic checks to see if the user is logged in already. 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: looping c: branching d: encapsulation

c: branching

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: boolean b: string c: float d: integer

c: float

What does JavaScript do? a: links digital objects to each other b: contains the title of the web page c: makes web pages interactive d: makes websites look good

c: makes web pages interactive

A developer is creating a program that will store a customer's 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: constant b: array c: variable d: object

c: variable

Select the tags you MUST use to have a proper HTML document. (Select three.) a: <div> b: <h1> c: <a> d: <body> e: <p> f: <head> g: <html>

d: <body> f: <head> g: <html>

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: Integrated development environment (IDE) c: The C# programming language d: Application programming interface (API)

d: Application programming interface (API)

Which of the following BEST describes a flowchart? a: It does the same thing over and over in exactly the same way. b: It is a step-by-step procedure that illustrates how a problem is to be solved. c: It starts at the first line and then executes one line at a time until the end. 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 job tasks would be something a QA specialist would do? a:Use Ruby, Java, PHP, Python, and query languages like SQL. b: Write code to design, create, implement, and maintain databases. c: Create applications for computers and mobile devices. d: Monitor software development in order to maintain a high-quality product.

d: Monitor software development in order to maintain a high-quality product.

Jessica, a programmer, has created specific statements, including conditional loops to accomplish a task. What has she created? a: flowchart b: software c: pseudocode d: algorithm

d: algorithm

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 variable b: a constant c: a float d: an array

d: an array

In object-oriented programming, which of the following concepts is used to describe properties? a: polymorphism b: methods c: encapsulation d: attributes

d: attributes

Databases, authentication, and user accounts are all part of a website's ______________. a: full stack b: frontend c: protocols d: backend

d: backend

Which of the following is a programming identifier that would be used to define values that don't change? a: arrays b: vectors c: variables d: constants

d: constants

Using HTML and CSS to provide visual elements to the end user would be considered part of a website's _____________. a: backend b: protocols c: full stack d: frontend

d: frontend

A person that can use HTML, CSS, and JavaScript to create websites (as well as service the website and manage user accounts) is known as which of the following? a: database programmer b: quality assurance engineer c: application developer d: full stack web developer

d: full stack web developer

Diana, a developer, needs to program a logic component that will allow the user to enter a series of values. Which of the following would BEST provide that functionality? a: branching b: scripting c: case statement d: looping

d: looping

Which of the following programming models are built from class templates that have properties, attributes, and methods? a: functions b: vector c: encapsulation d: objects

d: objects

What is the term for code that keeps running as long as a certain condition is met? a: branch b: for loop c: decision d: while loop

d: while loop


संबंधित स्टडी सेट्स

Chapter 19: The Expansion of Europe in the Eighteenth Century

View Set

Chapter 2 - Courts and Alternative Dispute Resolution

View Set

Live Virtual Machine Lab 5.3: Module 05 Physical Networking Tools

View Set