PLP Exam 2(Questions And Answers)2022
______ programming languages allow expressions to be named. Functional A(n) ___ is the collection of the attributes of a variable Descriptor 00:08 01:17 Which one of the following statements is NOT correct? Consider stack-dynamic variable. Each active copy of the recursive subprogram shares one copy of the local variables. With this binding, array subscript ranges are statically bound, but the storage allocation is done at declaration time. The advantage is space-efficiency. fixed stack-dynamic Which one of the following choices is correct? Another kind of implicit type declarations uses context. This is sometimes called _____.In the simpler case, the context is the type of the value assigned to the variable in a declaration statement. For example, in C# a declaration of a variable must include an initial value, whose type is made the type of the variable. type inference For length option(s) of string data type, some languages (e.g., C and C++), it is ___. In these languages, a special character is used to indicate the end of a string's characters, rather than maintaining the length. Limited Dynamic Length Which one of the following statements is NOT correct? To investigate storage bindings of variables, it is convenient to separate scalar (unstructured) variables into four categories, according to their lifetimes. These categories are named ____. object-dynamic Which one of the following statements is NOT correct? Languages with static type bindings are usually implemented by pure interpretation. ___ data types are not defined in terms of other data types Primitive Which one of the following statements is correct? ALGOL 60 introduced the method of binding names to nonlocal variables called ____ scoping. static Which one of the following statements is NOT correct? Some languages, including C, C++, PHP, JavaScript, and Python, allow a program structure that is a sequence of function definitions, in which variable definitions can appear outside the functions. Definitions outside functions in a file create ____ variables, which potentially can be visible to those functions. global ____ programming languages are, to varying degrees, abstractions of the underlying von Neumann computer architecture. Imperative
Written for
- Institution
- PLP
- Course
- PLP
Document information
- Uploaded on
- September 19, 2022
- Number of pages
- 14
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
plp exam 2questions and answers2022
-
programming languages allow expressions to be named
-
an is the collection of the attributes of a variable
-
which one of the following statements is no
Also available in package deal