Name 3 different coding languages
What is HTML, Python, C++, C#, CSS, Java, JavaScript, etc
Is this valid? Why or why not?
let x = 9;
let x = 10;
What is it is not valid because the variable is declared twice
What is a div used for?
What is it defines a division in an HTML document
How can do I use CSS to make the body background light blue?
body {
background-color: lightblue;
}
What is the difference between HTML and CSS?
HTML is for building a web-page and CSS is for styling
Name 3 data types
What is Boolean, Integer, String
What is the output of this code?
for (let x = 0; x < 10; x++){
console.log(x);
}
What is the numbers 1 through 10
How do you add a picture in HTML?
example:
<img src = "image link"/>
Find the errors
p {
color = red
text-align = center
}
p {
color: red;
text-align: center;
}
Describe 52 in binary.
What is 110100
What is an integer?
What is a non-fractional real number
Is this valid code? If it is not valid, explain why. If it is valid, explain what is happening in the code.
function myFunction(p1, p2) {
if (p1 > p2){
return p1;
}
return p1 * p2;
}
What is Yes
Elements are composed of three things. What are they?
ex. <p> Hello World </p>
opening tag, closing tag, and content
In CSS, name two ways that color can be specified?
In CSS, a color can be specified by using a predefined color name. In CSS, colors can also be specified using RGB values, HEX values, HSL values, RGBA values, and HSLA values
Name one difference between Java and JavaScript.
Instructor decides.
What is the term for the data passed to a function?
What is parameter
Suppose that you have a function, MagicNumber, with one parameter (integer). How do you call the function?
What is MagicNumber(5);
Normally, if your HTML is empty, can you use CSS alone for web development?
What is no
Who is Grace Hopper?
Instructor decides.
"If", "else", "while", etc.
Name three different Array methods
.push(), .slice(), .indexof(), .pop()
How many different headings are there?
What is 6 headings
The two ways you can use CSS within HTML.
What is internal stylesheet and external stylesheet?
Can you name every student in the class?