Users Also Read
Read MCQ's/Objective questions
MCQ's Search Engine
Important Question
ASP.NET
Basic Computer Knowledge
Basic of Linux/Unix
C Language
C# Programming
Computer Graphics
Computer Hardware
Computer Networking
Computer Security - Cyber crime & Laws
Data Structures & Algorithms
Database Management System
Digital Computer Electronics
HTML
Important File Extensions
Imp. Shortcut Keys used in Computer
Internet, Web & Email
Java - Concepts and Its Programming
Language Processors
Management Information System (MIS)
MS Access
MS Excel
MS Word
Operating System
Oracle, SQL & PL/SQL
PHP Basic
Power Point
Programming Languages
Software Engineering
System Analysis and Design (SAD)
System software & compiler design
Tally
VB.NET
Visual Basic
Home⇒ Computer Engineering⇒ C plus plus programming
1-Dont try to cram or spend more time here just read it fast and cover syllabus then practice MCQ's cheptor of same topic to check your progress. . |
2-Wrong options are also given but dont concentrate there, Right answer is in bold format. |
Q81 ⇒ Assume that a variable will need to store only integers in the range of 1 through 20000. The most efficient data type for the variable is _____ long integer [other wrong options] [Discuss in forum] character float integer |
Q82 ⇒ Which of the following C++ expressions is equivalent to the mathematical expression 53 ? pow(5, 3) [other wrong options] [Discuss in forum] 5 ^ 3 cube(5) pow (3, 5) |
Q83 ⇒ The purpose of a conditional operator is to select one of the two values depending on a condition [other wrong options] [Discuss in forum] select one of the two values select the highest of the two values select the more equal of the two values |
Q84 ⇒ The difference between a return and a throw is that _____ with a return, execution takes place at the location from which the function was called [other wrong options] [Discuss in forum] with a throw, no value can be sent with a return, no value can be sent with a throw, execution takes place at the location from which the function was called |
Q85 ⇒ Providing two or more constructors for the same class _____ requires different argument lists [other wrong options] [Discuss in forum] requires different constructor names requires different constructor types is illegal |
Q86 ⇒ External documentation includes a printout of the program's code [other wrong options] [Discuss in forum] flowcharts IPO charts pseudocode |
Q87 ⇒ The right shift operator is represented by the symbol >> [other wrong options] [Discuss in forum] > -> < |
Q88 ⇒ 6.5 is a _____ constant numeric literal [other wrong options] [Discuss in forum] character literal named literal string literal |
Q89 ⇒ The code that you enter into a C++ program is called _____ source code [other wrong options] [Discuss in forum] console code object code project code |
Q90 ⇒ The C++ operator used to allocate memory is _________ new [other wrong options] [Discuss in forum] mem allocate create |
Q91 ⇒ A function that is called automatically each time an object is created is a(n) constructor [other wrong options] [Discuss in forum] contractor builder architect |
Q92 ⇒ The pow and sqrt functions return a(n) _____ type number double [other wrong options] [Discuss in forum] float integer long |
Q93 ⇒ A function in a derived class that has the same name as a function in the parent class _____ will override the base class function [other wrong options] [Discuss in forum] will cause an error message to display will be overridden by the base class function will execute immediately after the base class function executes |
Q94 ⇒ The String data type is an extension of the _____ data type Character [other wrong options] [Discuss in forum] Double Letter Long |
Q95 ⇒ Assume that your version of C++ can recognize only the first 8 characters of an identifier name, through identifier names may be arbitrarily long. Which of the following identifier names is not distin identifier_l, identifier_2 [other wrong options] [Discuss in forum] list, list2 address, Address answer, ANSWER |
Q96 ⇒ When all of the operations in a function contribute to the performance of only one task, a function has functional cohesion [other wrong options] [Discuss in forum] singular cohesion tight cohesion sequential cohesion |
Q97 ⇒ Passing a variable pointer as a constant _____ protects the contents pointed to by the pointer from change [other wrong options] [Discuss in forum] eliminates the need to name the pointer in the function eliminates the need to give the pointer a type in the function causes a copy of the pointer to be produced in the function |
Q98 ⇒ A constructor initialization list produces similar results to assignment [other wrong options] [Discuss in forum] overriding redeclaring output |
Q99 ⇒ An advantage of using local variables is that _____ the program does not become "crowded" with too many variable names [other wrong options] [Discuss in forum] they are known to all functions in the file names used in one function do not affect data stored in variables with the same names in other functions values given to local variables are retained when those parameters go out of scope |
Q100 ⇒ The contents of two pointers that point to adjacent of type float differ by four bytes [other wrong options] [Discuss in forum] one bytes two bytes three bytes |
Or |