CSCE 102 Honors EXAM Study Guide
Total Page:16
File Type:pdf, Size:1020Kb
CSCE 102 Honors―EXAM Study Guide
Images • Using images Anchor Element • Creating a hyperlink using the anchor element (. . . ) • When is the path name necessary? • Creating an image that is a link *JavaScript
• * Data Types; examples, using • *Alerts, prompts (built in functions (Methods) of the windows object) • Creating a button using HTML and clicking it to execute JavaScript • Using event handlers to execute JavaScript from within HTML elements • *Changing CSS properties using JavaScript • *Writing functions - FUNCTIONS and more FUNCTIONS • *Calling Functions • The purpose of functions • Naming and using functions • Executing functions • What is a parameter? How and why are they used?(in class notes) • *Using parameters • Purpose of parameters • What is a variable? • Naming variables • *Using the assignment statement • *Logical flow with assignments, comments and functions • *Concatenation • The methods toLowerCase() toUpperCase() • *Using this. to change the current element • *Using getElementById in your notes and in lab assignment • *innerHTML − Changing the text in HTML elements on that have already been loaded on the page, in your notes and on lab assignment • *document.write • Image rollover • Creating image rollovers • Textboxes • Know how to create a textbox in HTML • *Know how to access the information in a textbox • *Know how to display new information in a textbox • Math with textboxes • *Know what parseFloat() does and how and why to use it addition, subtraction, multiplication, and division • Know how to write the code to average numbers, • *Know how to write the code to calculate a grade using weights • *If statements • Write the code to create an if statement. • Know how to use both relational and logical operators • *Know which part of the code is executed if the condition in the if statement is true/false. • *Loops • For loops • While loops • Do while loops • Do you understand the code from class and from the last lab? • Slide Show - In class notes - Do you understand it? • Radio buttons, check boxes, and pull down menus; In class notes • Difference between the checkboxes and the radio buttons • Guess the Number Problem – In class notes - Understanding the logic in code
What to study: Your class notes (code used in class and Especially the notes from the review - what will be on the test.), the study guide, the lab assignments, the code from lab, our web page, text books
*It is on the test.