CS 152 Final exam with 100% correct answers
JavaScript lacks classes, and hence cannot be considered an object-oriented programming language. correct answersF Inside of a function that is not part of an object, this will refer to the global object, unless it was invoked with the keyword new, in which case it refers to a new object being created. correct answersTx Functions in JavaScript are closures; that is, they remember variables from the scope where they were created. correct answersT JavaScript is a purely functional programming language correct answersF Every object has a prototype field, which is another object; if you add properties to this object, then they are available to all objects created with the same constructor. correct answersF DSLs use "natural language" to make programming easier for less computer-savvy users. correct answersF Inform 7 is a declarative, logical, and functional programming language. correct answersF "Natural language" is used to write programs in Inform 7, meaning that programs look like a human language such as English. correct answersT Inform 7 is an example of a DSL for creating web-based videogames correct answersF DSLs are languages specialized for certain tasks; for instance SQL is a DSL for interacting with databases. correct answersT
Escuela, estudio y materia
- Institución
- CS 152 F
- Grado
- CS 152 F
Información del documento
- Subido en
- 5 de agosto de 2023
- Número de páginas
- 3
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
cs 152 final exam with 100 correct answers
Documento también disponible en un lote