Quiz
cs396
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (20)
1We can describe a programming language syntax using __.
- Aaxiomatic language
- BBNF
- Cpredicate logic
- Dattribute syntax
2Heap-dynamic variables are also known as __.
- Alocal variables
- Bglobal variables
- Cstatic variables
- Dnameless variables
3Transient data in a program don't include __.
- AThe return address
- BThe result address
- CThe symbol table
- DThe dynamic variables
4Which of the following situations will create a "dangling pointer"?
- Asetting an arbitrary pointer variable to "null"
- Bsetting the CDR part of a CONS cell somewhere in the middle of a list to "null"
- Cfreeing a block to which there still exists a live pointer
- Dfreeing a block which still contains pointers to other existing blocks
5Which of the following is a Prolog atom?
- A23
- BAtom
- Catom
- D"Atom"
6In Java, a string length is __.
- Astatic
- Blimited dynamic
- Cunlimited dynamic
- Dwrapper-based
7In C, a string length is __.
- Astatic
- Blimited dynamic
- Cunlimited dynamic
- Dwrapper-based
8A pointer is a reference that is implicitly dereferenced.
- ARichtig
- BFalsch
9In OOLs, dynamic binding supports __.
- Aabstraction
- Bencapsulation
- Cpolymorphism
- Dinheritance
10Dynamic scoping is used in __.
- APerl
- BPascal
- CPureBasic
- DPowerShell
11The components of an attribute grammar don't include __.
- Asentential forms
- Bpredicate functions
- Csemantic functions
- Dattributes
12Some statically-typed programming languages use inference to automatically detect a variable data type.
- ARichtig
- BFalsch
13In Pascal, variables must be declared at the beginning of a code block.
- ARichtig
- BFalsch
14In Java, named constants are __.
- Adynamically bound to value
- Bdynamically bound to type
- Cstatically bound to value
- Dstatically bound to memory location
15Which of the following languages use dynamic type binding?
- AC
- BScheme
- CC++
- DPython
- EJava
- FBasic
- GC#
- HJavaScript
16Which of the following is not an attribute of a variable?
- Aaddress
- Btype
- Cscope
- Dlifetime
- Evalue
- Falias
- Gname
17What kind of variable is aka a local variable?
- Astatic
- Bstack-dynamic
- Cexplicit heap-dynamic
- Dimplicit heap-dynamic
18Which of the following are advantages of a statically-scoped language, like C, Java, or JavaScript?
- Aeasier to read
- Bfaster to execute
- Ceasier to implement
19A [blank_start]union[blank_end] can have multiple fields, but all will share the same value.
- Aunion
- Brecord
20A [blank_start]record[blank_end] can have multiple fields, each with its own value.
- Arecord
- Bunion
Informationen
- Beschreibung
- Quiz am cs396, erstellt von Johnny Catsup am 07/12/2018.
- Autor
- Johnny Catsup
- Sprache
- English
- Aufrufe
- 0
- Verlauf
- Erstellt am 7 Dez 2018 · aktualisiert am 10 Dez 2018
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz