What role does JavaScript play in a browser?
JavaScript is the programming language browsers use to add behavior to web pages.
Study 5 JavaScript Fundamentals with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
What role does JavaScript play in a browser?
JavaScript is the programming language browsers use to add behavior to web pages.
Name common JavaScript value types.
Common JavaScript values include numbers, strings, and booleans. Arrays, objects, and functions are also values.
How do `null` and `undefined` differ?
`null` represents an intentional absence of a value; `undefined` often means a value has not been assigned.
What does it mean that JavaScript is dynamically typed?
JavaScript is dynamically typed: a variable can hold values of different types at different times.
What can `+` do with numbers and strings?
The `+` operator adds numbers, but joins strings together.
What does `===` test in JavaScript?
`===` checks whether two values are equal without converting their types first.
When should you use `const` versus `let`?
Use `const` when a variable binding will not be reassigned, and `let` when it needs to change.
What is the scope of `const` and `let`?
`const` and `let` are limited to the surrounding block, the code enclosed in `{ }`.
Can a `const` object or array have its contents changed?
A `const` binding cannot be reassigned, but an object or array it refers to can still have its contents changed.
What is a JavaScript function for?
A function groups instructions so they can be run by calling it, helping make actions reusable.
How do function parameters and arguments differ?
A parameter is the function's named input; an argument is the value supplied for it in a function call.
What does `return` do in a function?
`return` sends a value back and ends that function call. A function without a return value evaluates to `undefined`.
A 14-question medium-difficulty quiz on Boolean algebra, logic gates, truth tables, and combinational circuits.
A focused set of flashcards covering Python variables, data types, expressions, control flow, functions, input, output, and common programming practices.
A structured guide to the main data structures, their operations, efficiency trade-offs, representations, and practical selection criteria.
Learn how computer memory stores and addresses information, how RAM and ROM differ, and how caches and the memory hierarchy balance speed, capacity, and cost.
A progressive guide to tree structure, binary-tree traversals, binary search tree operations, deletion, balancing, and the way tree height determines time and space costs.
A focused review of propositional logic, quantifiers, sets, relations, functions, and foundational proof methods in discrete mathematics for computer science.
Reviews how interrupts support event handling and multitasking, and how Linux system calls use the RISC-V `ecall` instruction and register conventions.
This quiz covers process management, context switching and scheduling, multitasking, traps and interrupts, and RISC-V privilege transitions.
A quiz on operating-system system calls, including privileged-operation requests, process creation and execution with fork, exec, and waitpid, and signal handling.