暗記メーカー
ログイン
Lecture 4
  • Julia Cristine Tadeo

  • 問題数 65 • 6/27/2024

    記憶度

    完璧

    9

    覚えた

    24

    うろ覚え

    0

    苦手

    0

    未解答

    0

    アカウント登録して、解答結果を保存しよう

    問題一覧

  • 1

    exactly mnemonic character string used to represent something else

    name

  • 2

    allows to reuse definition from earlier points from the program

    name

  • 3

    two types of type binding

    static-type binding, dynamic-type binding

  • 4

    done through explicit or implicit declaration

    static type binding

  • 5

    A name with fixed purpose

    reserved words

  • 6

    limitations are different for different languages

    length

  • 7

    a statement in a program that lists variable names and specifies their types

    explicit declaration

  • 8

    means of associating variables with types through default conventions

    implicit declaration

  • 9

    maximum of 31 characters

    FORTRAN 95

  • 10

    an automatic detection of the type of an expression in a formal language

    type inferencing

  • 11

    no limit but only the first 63 are significant; also, external names are limited to a maximum of 31 characters

    C99

  • 12

    usually are non-alphanumeric characters

    special characters

  • 13

    has no declaration

    dynamic type binding

  • 14

    All variable names must begin with dollar sign

    PHP

  • 15

    a variable is bound to a type when it's assigned a value in an assignment statement

    dynamic type binding

  • 16

    no limit, but implementers often impose one

    C++

  • 17

    specified through an assignment statement

    dynamic type binding

  • 18

    All variable names begin with special characters, which specify the variable's type

    perl

  • 19

    the time period in which the variable or object has valid memory

    lifetime

  • 20

    an abstraction of a memory cell

    variables

  • 21

    lifetime is also called

    allocation method or storage duration

  • 22

    getting a cell from some pool of variable cells

    allocation

  • 23

    6 attributes of variables

    name, address, value, type, lifetime, scope

  • 24

    putting a cell back into the pool

    deallocation

  • 25

    how we want to call our variable

    name

  • 26

    memory address which it is associated

    address

  • 27

    time during which it is bound to a particular memory cell

    lifetime

  • 28

    The contents of the location with which the variable is associated

    value

  • 29

    categories of variables by lifetime

    static variables, stack-dynamic variables, explicit heap-dynamic variables, implicit heap-dynamic variables

  • 30

    determines the range of values of variables and the set of operations that are defined for values of that type

    type

  • 31

    bound to memory cells before execution begins and remains bound to the same memory cell throughout execution

    static variables

  • 32

    means when we allocate storage for it and when we free its storage

    lifetime

  • 33

    storage bindings are created for variables when their declaration statements are elaborated, but whose types are statically bound

    stack-dynamic variables

  • 34

    nameless memory cells that are allocated and deallocated by explicit directives "runtime instructions", specified by the programmer, which take effect during execution

    explicit heap-dynamic variables

  • 35

    accessibility of the variable

    scope

  • 36

    space and memory where we can store an item and can fetch it

    cell

  • 37

    these variables, which are allocated from and deallocated to the heap, can only be referenced through pointers or reference variables

    explicit heap-dynamic variables

  • 38

    if two variables' names can be used to access the same memory location

    aliases

  • 39

    collection of storage cells whose organization is highly disorganized because of the unpredictability of its use

    heap

  • 40

    an object that stores a memory address

    pointers

  • 41

    are created via pointers, reference variables, c and c++ unions

    aliases

  • 42

    bound to heap storage only when they are signed value

    implicit heap-dynamic variables

  • 43

    variables which stores a memory address

    pointers

  • 44

    allocation and deallocation caused by

    assignment statements

  • 45

    are basically another name for an already existing variable

    references

  • 46

    an association, such as between an attribute and an entity, or between an operation and a symbol

    binding

  • 47

    attachment of a name to an entity

    binding

  • 48

    The time at which a binding takes place

    binding time

  • 49

    possible binding times

    language design time, language implementation time, compile time, load time, runtime

  • 50

    bind operator symbols to operations

    language design time

  • 51

    bind floating point type to a representation

    language implementation time

  • 52

    bind a variable to a type in C or Java

    compile time

  • 53

    bind a C or C++ static variable to a memory cell

    load time

  • 54

    bind a non-static local variable to a memory cell

    runtime

  • 55

    occurs before runtime and remains unchanged throughout program execution

    static binding

  • 56

    occurs during execution or can change during execution of the program

    dynamic binding

  • 57

    occurs when the variable is assigned a value of a particular data type

    dynamic binding

  • 58

    a word that is special only in certain contexts

    keyword

  • 59

    range of statements in which the variable is visible

    scope

  • 60

    local in a program unit or block if it is declared there

    local variable

  • 61

    program unit or block are those that are visible within the program unit or block but are not declared there

    non-local variable

  • 62

    allows a section of code to have its own local variables whose scope is minimized

    blocks

  • 63

    always refers to its top level environment

    static scope

  • 64

    binding names to non-local variables

    static scoping

  • 65

    search as the current lock and the successively all the calling functions

    dynamic scope