Quiz
cs396
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do 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.
- AVerdadeiro
- BFalso
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.
- AVerdadeiro
- BFalso
13In Pascal, variables must be declared at the beginning of a code block.
- AVerdadeiro
- BFalso
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
Informações
- Descrição
- Quiz sobre cs396, criado por Johnny Catsup em 07-12-2018.
- Autor
- Johnny Catsup
- Idioma
- English
- Visualizações
- 0
- Histórico
- Criado em 7 dez 2018 · atualizado em 10 dez 2018
- Avaliação
- Ainda sem avaliações Avalie este quiz