CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Computer Science
‣
Object Oriented Programming Using C++
Comments
Question
The keyword used to define a structure is _____
Options
A. stru
B. stt
C. struct
D. structure
Correct Answer
struct
Object Oriented Programming Using C++ problems
Search Results
1. Which of the following assigns the number 5 to the area variable?
Options
A. area 1 = 5
B. area = 5
C. area == 5
D. area --> 5
E. area < > 5
Show Answer
Scratch Pad
Discuss
Correct Answer: area = 5
2. If you design a class that needs special initialization tasks, you will want to design a(n) _____
Options
A. housekeeping routine
B. initializer
C. constructor
D. compiler
Show Answer
Scratch Pad
Discuss
Correct Answer: constructor
3. Header files often have the file extension _____
Options
A. .H
B. .HE
C. .HEA
D. .HEAD
Show Answer
Scratch Pad
Discuss
Correct Answer: .H
4. Evaluate the following expression: 3 >6&&7>4
Options
A. True
B. False
Show Answer
Scratch Pad
Discuss
Correct Answer: False
5. A function that returns no values to the program that calls it is _____
Options
A. not allowed in C++
B. type void
C. type empty
D. type barren
Show Answer
Scratch Pad
Discuss
Correct Answer: type void
6. A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
Options
A. char function(double d, char c)
B. int function(int d, char c)
C. both (a) and (b)
D. neither (a) nor (b)
Show Answer
Scratch Pad
Discuss
Correct Answer: int function(int d, char c)
7. Why does a successfully mapped network drive disappear every time you boot the computer?
Options
A. The computer you are connected to has moved
B. You didn't click reconnect on log on
C. The map statement is not in the autoexec.bat file
D. The last drive was not set correctly
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: The map statement is not in the autoexec.bat file
8. Which device is on IRQ 6?
Options
A. Keyboard
B. IDE
C. Floppy drive
D. Video card
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: Floppy drive
9. If the memory slots have 30 pins then the chip is a?
Options
A. DIMM
B. SIMM
C. SDRAM
D. All of the above
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: SIMM
10. When measuring AC (Alternating Current) with a multimeter, it is important to maintain the proper polarity.
Options
A. True
B. False
Show Answer
Scratch Pad
Discuss
Correct Answer: False
Comments
There are no comments.
Enter a new Comment
Save
More in Computer Science:
Artificial Intelligence
Automation System
Computer Fundamentals
Computer Hardware
Database Systems
Digital Computer Electronics
Disk Operating System (DOS)
Electronic Principles
Language Processors
Linux
Management Information Systems
Networking
Object Oriented Programming Using C++
Operating Systems Concepts
System Analysis and Design
Unix
Windows 2000 Server
Windows NT