UPDATED ACTUAL Questions and
CORRECT Answers
Which of the following statements are true about the Internet?
I - The Internet connects devices & networks all over the world
II - There are no negative consequences of the Internet, it is purely positive
III - The Internet helps people communicate
IV - The Internet helps people collaborate to
solve problems - CORRECT ANSWER - I, III, & IV.
Consider the following program code:
var i = 1;
var sum = 0;
while(i < 5) {
sum += i;
}
println(sum);
What is the result of running this program code? - CORRECT ANSWER - The program
results in infinite loop.
,Laura will go to her friend's house if she has less than two hours of homework or if it is the
weekend. Otherwise, she will stay home & study.
In which of the following cases will Laura stay home to study?
Which decimal value is equal to the binary number 1012? - CORRECT ANSWER - Laura
has 2.5 hours of homework on Thursday.
5↓10.
Which of the following successfully switches the values of the variables x & y? Temp may be
used as a temporary variable if necessary.
Which of the following is an example of metadata about a webpage?
Why do we use CSS? - CORRECT ANSWER - temp = x;
x = y;
y = temp;
The title of the webpage.
Allows us to add style, separate content, & modify.
What is the first step of viewing a web page as described in the video?
What is the second step of viewing a web page as described in the video?
What is the third step of viewing a web page as described in the video?
, What is the fourth step of viewing a web page as described in the video? - CORRECT
ANSWER - The URL.
The Request.
The Response.
Rendering the page.
What does URL stand for?
Which of the following statements are true about styling your web pages with CSS:
I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can create styles with CSS that are not possible using style= on an HTML tag -
CORRECT ANSWER - Uniform Resource Locator.
I only.
CSS rules have a selector that defines which HTML elements the rule applies to.
We've learned about the following CSS Selectors:
Select by tag name
Select by class name
Select by id name