Podcast
Questions and Answers
In C++ programming, a variable which stores a reference to another variable is called
In C++ programming, a variable which stores a reference to another variable is called
- Asterisks
- Structure
- Pointer (correct)
- Constructor
A program that translates a high-level language like C++ to a machine language is called a _____
A program that translates a high-level language like C++ to a machine language is called a _____
- Compiler (correct)
- Disassembler
- Assembler
- Coder
In C++ programming, assume that the value of the variable A is 0 and the value of the variable B is 10. Which one of the following alternatives is false?
In C++ programming, assume that the value of the variable A is 0 and the value of the variable B is 10. Which one of the following alternatives is false?
- (A > 20) || (B > 5)
- (B == 10) || (x < y)
- (A > 10) && (x < y) (correct)
- (A == 0) && (B < 20)
Which one of the following formats is correct about functions in structural Programming?
Which one of the following formats is correct about functions in structural Programming?
Which of the following is a valid function call (assuming the function add exists & have two parameters)?
Which of the following is a valid function call (assuming the function add exists & have two parameters)?
A function is said to be a recursive function__________?
A function is said to be a recursive function__________?
What will be the return type of a function, if the function does not have a return value?
What will be the return type of a function, if the function does not have a return value?
____ is a header file which permits writing of data to a file.
____ is a header file which permits writing of data to a file.
Which one of the following statements are true?
Which one of the following statements are true?
_________ a Variable that is available anywhere within your program.
_________ a Variable that is available anywhere within your program.
If a class is named Student, the class constructor name is__________..
If a class is named Student, the class constructor name is__________..
A visibility modifier that makes methods and data fields accessible only from within its own class is
A visibility modifier that makes methods and data fields accessible only from within its own class is
The keyword used to create subclass/derived class in inheritance is
The keyword used to create subclass/derived class in inheritance is
Which of the following is not a valid variable in java?
Which of the following is not a valid variable in java?
A blueprint of an object is called ________.
A blueprint of an object is called ________.
It defines how and where data are organized in physical data storage
It defines how and where data are organized in physical data storage
During modeling your data, Entity Relationship is applied at
During modeling your data, Entity Relationship is applied at
Criteria that should not be considered when evaluating or assessing requirement analysis?
Criteria that should not be considered when evaluating or assessing requirement analysis?
The SQL command that you use to define the primary key for an existing table called 'Employee' with the primary column as 'empid'?
The SQL command that you use to define the primary key for an existing table called 'Employee' with the primary column as 'empid'?
While checking the normalization process, the problem that doesn’t exist on transitive dependency is
While checking the normalization process, the problem that doesn’t exist on transitive dependency is
You need to produce a report for mailing labels for customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: ID, NAME, ADDRESS, PHONE. Which SELECT statement accomplishes this task?
You need to produce a report for mailing labels for customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: ID, NAME, ADDRESS, PHONE. Which SELECT statement accomplishes this task?
If the maximum cardinality is equal to 1 in both directions of a relationship, then it is classified as:
If the maximum cardinality is equal to 1 in both directions of a relationship, then it is classified as:
What is the preferred way for adding a background color in HTML?
What is the preferred way for adding a background color in HTML?
What is the method used to get the result from the form data sent with both GET and POST?
What is the method used to get the result from the form data sent with both GET and POST?
Which of the following is an optional parameter while using mysqli_connect() method?
Which of the following is an optional parameter while using mysqli_connect() method?
From the following list, choose the most appropriate update statement
From the following list, choose the most appropriate update statement
When does a page fault occur?
When does a page fault occur?
Which of the following is a condition that causes deadlock?
Which of the following is a condition that causes deadlock?
What is an operating system?
What is an operating system?
Which CPU scheduling algorithm allocates the CPU first to the process that requests the CPU first?
Which CPU scheduling algorithm allocates the CPU first to the process that requests the CPU first?
What is the ready state of a process?
What is the ready state of a process?
A set of processes is in a deadlock if ________?
A set of processes is in a deadlock if ________?
In Operating Systems, which of the following are CPU scheduling algorithms?
In Operating Systems, which of the following are CPU scheduling algorithms?
In which of the storage placement strategies, is a program placed in the largest available hole in the main memory?
In which of the storage placement strategies, is a program placed in the largest available hole in the main memory?
A measurement that defines the level of inter-dependability among modules of a program is ________.
A measurement that defines the level of inter-dependability among modules of a program is ________.
Which of the following are Advantages of modularization in software design?
Which of the following are Advantages of modularization in software design?
Which of the following is not an element of Requirement Engineering Process?
Which of the following is not an element of Requirement Engineering Process?
Which type of test determines if the system meets all the requirements (functional and nonfunctional)?
Which type of test determines if the system meets all the requirements (functional and nonfunctional)?
How is generalization implemented in Object-Oriented software engineering?
How is generalization implemented in Object-Oriented software engineering?
All of the following are required to develop an effective test except:
All of the following are required to develop an effective test except:
Use case descriptions commonly contain:
Use case descriptions commonly contain:
Which document is created by a system analyst after the requirements are collected from different stakeholders?
Which document is created by a system analyst after the requirements are collected from different stakeholders?
Choose the incorrect statement in terms of Objects.
Choose the incorrect statement in terms of Objects.
Which mechanism allows several objects in a class hierarchy to have different methods with the same name?
Which mechanism allows several objects in a class hierarchy to have different methods with the same name?
________is a process that translates system specifications into a formal or semi-formal model.
________is a process that translates system specifications into a formal or semi-formal model.
Which of the following is a disadvantage of Object-Oriented Design?
Which of the following is a disadvantage of Object-Oriented Design?
If a grammar produces more than one leftmost derivation for a sentence, it is called:
If a grammar produces more than one leftmost derivation for a sentence, it is called:
The intersection of a context-free language and a regular language is ________
The intersection of a context-free language and a regular language is ________
Which one of the following is not a part of a Turing machine?
Which one of the following is not a part of a Turing machine?
The output of a lexical analyzer is ________
The output of a lexical analyzer is ________
Which of the following is NOT a primary role of a code generator in compiler design?
Which of the following is NOT a primary role of a code generator in compiler design?
Which one of the following is different from the others?
Which one of the following is different from the others?
When is the type checking usually done?
When is the type checking usually done?
Which of the following can NOT represent target Code?
Which of the following can NOT represent target Code?
Which of the following is NOT an important property of intermediate code representation?
Which of the following is NOT an important property of intermediate code representation?
Study Notes
Programming Concepts
- A variable that stores a reference to another variable is called a pointer.
- A program that translates a high-level language like C++ to a machine language is called a compiler.
- A recursive function is a function that calls itself.
- If a function does not have a return value, its return type is Void.
- ofstream is a header file that permits writing of data to a file.
- A global variable is a variable that is available anywhere within a program.
Object-Oriented Programming
- A class is a blueprint of an object.
- The constructor of a class is a special method that is called when an object is created.
- Private is a visibility modifier that makes methods and data fields accessible only from within its own class.
- The keyword used to create a subclass/derived class in inheritance is extends.
Databases
- Internal Schema defines how and where data are organized in physical data storage.
- Entity Relationship is applied at the conceptual database design level.
- The SQL command to define the primary key for an existing table is ALTER TABLE.
- Normalization is a process of organizing the fields and tables of a database to minimize data redundancy and dependency.
Computer Architecture
- Von-Neumann Architecture is a type of computer architecture that uses a single bus to transfer data and instructions.
- Cache memory is a small, fast memory that stores frequently used data or instructions.
- Virtual memory is a technique that uses both hardware and software to enable a computer to use more memory than is physically available.
Data Communication
- OSI model is a 7-layered framework for designing and implementing computer networks.
- Segmentation of a data stream happens at the Transport layer of the OSI model.
- Fiber-optic cable is a type of cable that is not susceptible to Electromagnetic Interference (EMI).
Algorithms
- Dynamic Programming is a method of solving complex problems by breaking them down into simpler subproblems.
- Greedy Algorithm is a method of solving problems by making the locally optimal choice at each step.
- Breadth-First Search (BFS) is a graph traversal algorithm that traverses a graph in a breadthward motion.
Web Development
- Static website is a website that does not change its content unless the actual webpage file is edited.
- Server-side scripting language is a programming language that runs on a web server to generate dynamic web pages.
- JavaScript is a client-side scripting language that is used to create interactive web pages.
Operating Systems
- Deadlock is a situation where two or more processes are blocked, waiting for each other to release resources.
- Page fault occurs when a process requests a page that is not in memory.
- Scheduling algorithms are used to allocate the CPU to different processes.
- Modularization is a technique of breaking down a program into smaller, independent modules.
Software Engineering
- Requirements engineering is the process of defining, analyzing, documenting, and maintaining the requirements of a software system.
- System testing determines if a system meets the entire requirements (functional and nonfunctional).
- Aggregation, composition, and generalization are mechanisms of object-oriented design.
Let me know if you'd like me to expand on any of these topics!
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz covers basic concepts and terminology in C++ programming, including variables, pointers, and compilers.