Abstract data types includes ___________________.       a)Both “data” and “functions”       b)constructors       c)functions       d)data       e)“data” , “functions” and “constructors”     Which one of the following variables is history sensitive?         a)implicit heap dynamic       b)explicit heap dynamic       c)static       d)stack dynamic       e)non static     Sentence in a derivation process consists of         a)only terminals       b)None of these       c)only Non-terminals       d)keywords       e)terminals and non-terminals

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Abstract data types includes ___________________.
 
 
 
a)Both “data” and “functions”
 
 
 
b)constructors
 
 
 
c)functions
 
 
 
d)data
 
 
 
e)“data” , “functions” and “constructors”
 
 
Which one of the following variables is history sensitive?
 
 
 
 
a)implicit heap dynamic
 
 
 
b)explicit heap dynamic
 
 
 
c)static
 
 
 
d)stack dynamic
 
 
 
e)non static
 
 
Sentence in a derivation process consists of
 
 
 
 
a)only terminals
 
 
 
b)None of these
 
 
 
c)only Non-terminals
 
 
 
d)keywords
 
 
 
e)terminals and non-terminals
 
 
Most of the AI applications developed before 90s were written in _______________.
 
 
 
 
a)C
 
 
 
b)LISP
 
 
 
c)Python
 
 
 
d)Java
 
 
 
e)Prolog
 
 
Which feature in C# allows to access the private members of a class?
 
 
 
 
a)property
 
 
 
b)access specifier
 
 
 
c)public
 
 
 
d)attribute
 
 
 
e)behavior
 
 
Explicit Heap dynamic variables allows ________________________.
 
 
 
 
a)Both “Explicit deallocation” and “Implicit deallocation”
 
 
 
b)Both “Explicit deallocation” and “Implicit Memory Allocation”
 
 
 
c)Implicit deallocation
 
 
 
d)Explicit deallocation
 
 
 
e)Implicit Memory Allocation
 
 
Which of the following method is preferred, if we want to pass large amount of data to a subprogram?
 
 
 
 
a)Pass by Value Result
 
 
 
b)Pass by Reference
 
 
 
c)Pass by Result
 
 
 
d)Pass by Value
 
 
 
e)Pass by Copy
 
 
A non-static local variable is bound to a memory cell at ___________________.
 
 
 
 
a)implementation time
 
 
 
b)compile time
 
 
 
c)operating time
 
 
 
d)runtime
 
 
 
e)load time
 
 
Which of the following languages allows creation of implicit heap dynamic variables?
 
 
 
a)Java
 
 
 
b)All of these
 
 
 
c)Cobol
 
 
 
d)Perl
 
 
 
e)C
 
 
 
 
 
 
Semantic
 
 
 
Function
 
 
 
Syntax
 
 
 
Code
 
 
 
Statement
 
 
Which of the grammar will be unambiguous?
1 point
 
 
 
a)grammar is right recursive
 
 
 
b)grammar is left recursive
 
 
 
c)grammar has more than one rightmost derivation for a single input sentence
 
 
 
d)grammar has more than one leftmost derivation for a single input sentence
 
 
 
e)grammar has only a unique parse tree for a single sentence
 
 
For Recursion process to be implemented, we need __________________ variables.
 
 
 
 
a)non static local
 
 
 
b)array
 
 
 
c)actual
 
 
 
d)local
 
 
 
e)static
 
 
In Implicit Heap dynamic variables, memory may be allocated and deallocated _____________________.
 
 
 
 
a)only once
 
 
 
b)fixed number of times
 
 
 
c)many times
 
 
 
d)Both “only once” and “fixed number of times”
 
 
 
e)None of these
 
 
In the given statement the value of c is bound at _____________________. c = c + 1
 
 
 
a)load time
 
 
 
b)operating time
 
 
 
c)implementation time
 
 
 
d)compile time
 
 
 
e)execution time
 
 
In ________________ language, an algorithm is specified in great detail, and the specific order of execution of the instructions or statements must be included.
 
 
 
 
a)Assembly
 
 
 
b)Object oriented
 
 
 
c)None of these
 
 
 
d)Functional
 
 
 
e)Logic
 
 
If a variable is used in a program before its declaration, then which phase will report error?
 
 
 
 
a)Interpreter
 
 
 
b)Semantic Analysis
 
 
 
c)Lexical Analysis
 
 
 
d)Code optimizer
 
 
 
e)Syntax Analysis
 
 
In parameter pass by reference method, ________________ of actual parameters is passed to the formal parameters of a subprogram.
 
 
 
 
a)pointer
 
 
 
b)value
 
 
 
c)result
 
 
 
c)address
 
 
 
d)None of these
 
 
Which of the following is machine dependent phase(s) of the compiler?
 
 
 
 
a)Both “Code Optimizer” and “Code Generation”
 
 
 
b)Both “Intermediate Code Generation” and “Code Optimizer”
 
 
 
c)Code Optimizer
 
 
 
d)Intermediate Code Generation
 
 
 
e)Code Generation
 
 
Which of the following is a token?
 
 
 
 
a)word
 
 
 
b)value
 
 
 
c)address
 
 
 
d)keyword
 
 
 
e)lexeme
 
 
A derivation is a repeated application of rules, starting with the start symbol and ending with _____________________.
 
 
 
 
a)final symbol
 
 
 
b)Expression
 
 
 
c)grammar symbols
 
 
 
d)Non-terminals
 
 
 
e)terminal symbols
 
 
When a subprogram is called, then a _________________ is created on the stack.
 
 
 
 
a)All of these
 
 
 
b)Active Record
 
 
 
c)Runtime stack
 
 
 
d)record
 
 
 
e)Activation record
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education