Introduction to JavaScript (Repl.it 1 -20) exam questions with 100% correct answers(graded A+)
Program instructions executing one at a time starts in main(), executing the statements within main's braces { }, one at a time Input A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Brainpower Read More Process A program performs computations on that data, such as adding two values like x + y Output A program puts that data somewhere, such as to a file, screen, network, etc Variables Something programs use to refer to data; like x Computational Thinking Creating a sequence of instructions to solve a problem Algorithm A sequence of instructions that solves a problem Semicolon (;) Each statement typically appears alone on a line, and ends with a semicolon; like English sentences end with a period. Scanner A text parser that can get numbers, words, or phrases from an input source such as the keyboard S S construct supports output String Literal Text in double quotes " " Newline Sln (note the ln at the end, short for "line"), starts a new output line after the outputted values Newline Character n produces a newline within a string literal Syntax Error a kind of mistake that violates a programming language's rules on how symbols can be combined and used warning received from compiler when a possible logic error has occured Compile-time error generally a syntax error Logic error an error that occurs while a program runs; bug Processors circuits created to execute a list of desired calculations Machine Instructions instructions represented as 0's and 1's Executable Program A sequence of machine instructions Compilers programs that automatically translate high-level language programs into executable programs bits 0's and 1's (binary digits) Transitors smaller switches integrated into a single chip (1958) Moore's Law The doubling of IC capacity roughly every 18 months RAM temporary memory that holds data and is designed in a way that any address can be accessed much faster than disk Byte 8 bits
Escuela, estudio y materia
- Institución
- REPL
- Grado
- REPL
Información del documento
- Subido en
- 22 de mayo de 2024
- Número de páginas
- 7
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
introduction to javascript replit 1 20 exam