stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Software Club 2024/2025 Culminating Quiz Flashcards | StudBud
Explore
/
Software Club 2024/2025 Culminating Quiz
Software Club 2024/2025 Culminating Quiz
61 terms
·
StudBud Administration
·
2 plays
A review of everything we have gone over this past school year!
Flashcards
61 cards
F
Practice quiz
P
Host live
L
Questions
61
Answers
1
A <div> is a division of an HTML document
True
False
2
In C++, a do while loop always checks if its condition is true before running the code block
True
False
3
In C++, what is cout?
Print statement
User input
Not real C++ code
Character input
4
CSS cannot be applied directly inside an HTML tag
True
False
5
In Python, what is a pass statement?
A statement which executes code when the loop finishes naturally
A statement that exits the current loop
A placeholder statement
A statement that exits the current loop iteration and enters the next
6
A closing tag is indicates by a forward slash (/)
False
True
7
In Python, a while loop will run when the condition is False.
False
True
8
What does the </html> tag do?
Close the HTML document itself
Indicates the end of the document to programmers
I do not know chat
It is an unnecessary stylistic decision
9
What CSS selector selects all elements on the page?
.classname
*
.filename
#idname
10
In Python, The keys() method returns a list of all the keys in a dictionary
False
True
11
What is HTML short for?
Hyper Text Markup Language
Home Tool Markup Language
Hyperlink and Text Markup Language
High-Level Text Management Language
12
Which of the following is an HTML paragraph tag?
<p2>
<p1>
<p>
<h1>
13
What is printed in the following Python code sample?
5
-3
-2
3
14
What does the linear timing property do in CSS?
The animation moves at a constant speed.
Custom speed curves for advanced effects.
Breaks the animation into N discrete steps.
Default. Starts and ends slowly, accelerates in the middle.
15
In C++, this is the general syntax of a while loop
False
True
16
In C++, what is cin?
Print statement
Character input
Not real C++ code
User input
17
In CSS, the border is the edge of the element's "box"
True
False
18
variableName variableType[numElements]; is the proper syntax for declaring an array in C++
True
False
19
In the following Python Code, the "Ford" is a key
True
False
20
In Python, which sequence date type(s) uses curly braces {}?
Sets
Sets and Dictionaries
Tuples and Dictionaries
Lists and Sets
21
The box model order from the inside out is the following: content, margin, border, and padding.
True
False
22
In C++, what does endl do?
Adds a new line after text
Breaks out of a structure
Ends the program
Print text in the console
23
Functions are reusable blocks of code that take inputs, perform operations, and return outputs.
False
True
24
What language uses #include
Python
CSS
HTML
C++
25
How many times does this while loop run?
It does not run
5
4
4.5
26
Try-Except Statements are used to handle any errors that may occur during the execution of a program.
False
True
27
What is Margin in CSS?
The border of the element
There is no margin
The space between the border and the content
The space around the element's border
28
What is a Parameter?
The actual values passed into the functions
Reusable blocks of code that take inputs and perform operations
Where you would write code that may cause an error
Placeholders for the values passed into the function
29
What is wrong with this CSS code?
There cannot be two fonts in the font-family property
You cannot assign properties to the body of the HTML file
There is a missing colon on the text-align property
You must use hexadecimal when referring to colour
30
JSON is an acronym for...
Java Scripting Object Notation
JavaScript Objects Notoriety
JavaScript Object Notation
JavaScript Of Notation
31
In Python, you can pass files into functions
True
False
32
Single line comments in Python begin with "#"
True
False
33
In C++, the void return type must return a void value
False
True
34
What is the Padding CSS Property?
The border
The space between the element's border and its content
The space around the border
There is no Padding property
35
What does this Python code print?
The squar of 4 is 16
The square of 4 is 16.
The square of 4 is 16
The square of four is sixteen
36
CSS stands for Cascading Styling Sheet
True
False
37
This Python code returns 1
True
False
38
The following C++ code enables the indicated functions to be written after the they are used
True
False
39
In Python, which sequence data type(s) is declared with round brackets ()?
Lists and Sets
Lists
Tuples
Tuples and Lists
40
In the displayed Python code sample, what is printed on the third iteration?
cherry
apple
banana
nothing
41
What is the output of the following code sample?
7 4
8 3
9,3
9 4
42
What is wrong with this HTML code?
The <p> tag is not closed properly.
The code needs to be indented
The declaration at the top is incorrect
<h1> is not a valid HTML tag
43
What is the purpose of <!DOCTYPE html> in an HTML document?
To tell the browser which version of HTML is being used
To link external stylesheets to the page
To start a paragraph element
To display the title of the webpage
44
JSON is a lightweight data interchange format used to store data, often in key-value pairs
False
True
45
Single line comments in C++ being with "//"
True
False
46
For sets in Python, what does the pop() method do?
Removes the item at the specified index
Remove a random item in the set
Removes all items of the specified value
Pop() does not work for sets
47
F-Strings are used to embed expressions into strings through the use of square braces [].
False
True
48
What do Keyframes do in CSS?
Define the properties of a CSS animation
Define what happens at specific points during the animation.
Control how the animation behaves
Breaks down individual animation properties
49
Which of the following best describes HTML?
A scripting language for backend development
A markup language used to structure content on the web
A programming language used to create software applications
A database query language
50
Which of the following is a Heading HTML tag?
<h1>
<h7>
<p>
<a>
51
What is a Local Variable?
Reusable blocks of code that take inputs and perform operations
Variables declared outside of any function that can be accessed anywhere
Variables declared inside a function that cannot be accessed outside
The actual values passed into the functions
52
What is a Global Variable?
Reusable blocks of code that take inputs and perform operations
Variables declared outside of any function that can be accessed anywhere
The actual values passed into the functions
Variables declared inside a function that cannot be accessed outside
53
What is a Argument?
Reusable blocks of code that take inputs and perform operations
The actual values passed into the functions
Where you would write code that may cause an error
Placeholders for the values passed into the function
54
<ol> is an unordered list
False
True
55
This Python code is an example of what?
Composite functions
Nested functions
Recurring
Recursion
56
The Body of an HTML document contains everything that appears on the webpage.
True
False
57
In CSS, you can apply multiple animations to the same element by separating them with commas.
True
False
58
When does the except statement run in the following Python code?
It runs after the try statement
It will never run; the error is not real
It runs if there is no a notes.txt file
It runs if there is a notes.txt file
59
What is printed in the following Python code sample?
10
13
11
15
60
Font Weight is a CSS Text Property:
False
True
61
What are the four key components of a function
Return type, name, arguments, body
Return type, name, parameters, body
Arguments, name, parameters, body
Return statement, name, parameters, body