Csce 102 exam 2 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Csce 102 exam 2? On this page you'll find 7 study documents about Csce 102 exam 2.
All 7 results
Sort by
-
CSCE 102 Exam 2 Questions and Answers 100% Pass
- Exam (elaborations) • 13 pages • 2024
-
- $9.99
- + learn more
CSCE 102 Exam 2 Questions and 
 
Answers 100% Pass 
 
How do you create a new object in JavaScript? 
 By using the `new` keyword with a constructor function, e.g., `let obj = new Object();`. 
 
What is the purpose of the `map()` method in JavaScript arrays? 
 To create a new array by applying a function to each element of the original array. 
 
How do you check if a key exists in a Python dictionary? 
 By using the `in` keyword, e.g., `key in dictionary`. 
 
What does the `split()` method do in ...
-
CSCE 102 Exam 2 Questions and Answers Already Passed
- Exam (elaborations) • 13 pages • 2024
-
- $9.99
- + learn more
CSCE 102 Exam 2 Questions and 
Answers Already Passed 
 
What is a loop in programming? 
 A control structure that repeats a block of code while a specified condition is true. 
 
How do you write a `while` loop in JavaScript? 
 By using the `while` keyword followed by a condition in parentheses and a block of code in 
curly braces. 
 
What does the `break` statement do in a loop? 
 It exits the loop immediately, regardless of the loop's condition. 
 
How do you declare an array in JavaScript? 
...
-
CSCE 102 Exam 2 Questions With 100% Correct Answers.
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $7.99
- + learn more
A function call can be placed in... - a script element OR 
part of attribute value of event handler 
Can a variable have multiple values? - no. a variable can only have ONE value, it is the last value 
that was assigned and the old value is gone 
Consider the following: 
red="blue" 
1)="red"; 
2)=red; 
What type of data is 1; 2? 
What color is the text of 1;2? - 1 is a string because red is in quotations. The text color is red. 
2 is a variable. The text color is blue. 
give an example of a ...
-
CSCE 102 Exam 2 with complete solutions.
- Exam (elaborations) • 6 pages • 2024
-
- $10.99
- + learn more
Write a multi-line javascript comment that contains name and home town 
/Jessica Scicchitano Florence SC/ 
 
 
 
Write the code to give a variable a value that is your major's name 
var m='biology' 
 
 
 
 
Previous 
Play 
Next 
Rewind 10 seconds 
Move forward 10 seconds 
Unmute 
0:00 
/ 
0:15 
Full screen 
Brainpower 
Read More 
What does the parselnt( ) do? 
takes a string value and makes it a number value 
 
 
 
What does padding and margin property specifies in CSS? 
Margin: how much spac...
-
CSCE 102 Exam 1 Questions and Answers Rated A+
- Exam (elaborations) • 30 pages • 2024
-
- $10.49
- + learn more
CSCE 102 Exam 1 Questions and 
 
Answers Rated A+ 
 
What is the main purpose of a variable in programming? 
 To store data that can be used and manipulated within a program. 
 
What is the function of an HTML tag? 
 To define the structure and content of a web page. 
 
How do you create a comment in HTML code? 
 Use `<!--` to open and `-->` to close the comment. 
 
What is the purpose of using CSS in web development? 
 To style and layout HTML elements on a web page. 
 
How is a function ...
Too much month left at the end of the money?
-
CSCE 102 Exam 2 with 100% Complete Solutions Rated A+
- Exam (elaborations) • 6 pages • 2024
-
- $7.89
- + learn more
CSCE 102 Exam 2 with 100% Complete 
Solutions Rated A+ 
image tag - <img src="" alt="me" id="swag"> 
link a picture to an image - <a href=""> <img src="" 
alt="smile"> </a> 
How are tables defined? - with <table> tag 
What divides tables into table rows? - <tr> 
Table rows are divided into table data with what? - <td> 
What is a heading tag for rows? - <th> 
What is a code for 2X3 table? - <table> 
<tr> 
<th> Yolo</...
-
CSCE 102 Exam 2.
- Exam (elaborations) • 6 pages • 2024
-
- $7.99
- + learn more
CSCE 102 Exam 2.
$6.50 for your textbook summary multiplied by 100 fellow students... Do the math: that's a lot of money! Don't be a thief of your own wallet and start uploading yours now. Discover all about earning on Stuvia