QuizMagic

Now available on:
QuizMagic on Google Play QuizMagic Windows 8 App QuizMagic on Amazon Store QuizMagic on Firefox Marketplace
Create you own quizzes

Computer Programming

Computer Programming
Created by Quizmagic Team on Jan 09, 2013 07:15 PM
Quiz with 30 questions that tests your knowledge of computer programming. Basic questions about pointers, nested loops, functions, keywords, OOPS and other topic of programming.
Top 5 Scores
Himanshu Sharma
292
00:36
Himanshu Sharma
288
00:43
Anonymous
287
01:04
Anonymous
280
01:38
Anonymous
278
01:49
Questions
30
Minutes
15
High Score
292
00:36
Quiz Played
8356
times
Last played on Jan 22, 2023. View comments
Congratulation!

You are in top 5 scorers.
0
0
0
0
N/A
Answering this correctly will make the indicated neighbouring questions be automatically treated as having been answered correctly.
Answering this incorrectly will make the indicated neighbouring questions be automatically treated as having been answered incorrectly.
Answering this correctly will earn you some extra points.
Answering this incorrectly will cause you to lose some points.
Answering this correctly will increase the total time available to you.
Answering this incorrectly will reduce the total time available to you.
Rate this quiz
Embed this quiz on your blog or websiteShare this quiz

Copy this HTML code and paste in your website code to run this quiz on your site.

Size:
Size:

Similar Quizzes

C++ Quiz (Set 2)   |   Basics Of C Program   |   C++   |   Design Pattern (Set 2)   |   C Language   |   ASP.NET
comments powered by Disqus

Sample Questions

Question 1
Can we override the main method?
No
Yes
Question 2
Every time we supply a new set of values to the program at the command prompt, we need to recompile the program.
False
True
Question 3
A short integer is at least 16 bits wide and a long integer is at least 32 bits wide.
False
True
Question 4
Encapsulation: This helps in controlling the visibility of internal details of the objects. It improves security and integrity of data
True
False
Question 5
Polymorphism: – It is the means by which an operation behaves differently in different contexts.
True
False
Question 6
Adding a derived class to a base class requires fundamental changes to the base class
False
True
Question 7
What is anonymous class?
Class defined inside a method without a name
A Class defined with a keyword "Friend".
It is instantiated and declared in the same place and cannot have explicit
Class defined inside a class.
Question 8
What will be output, if you will compile and execute the following C code?


int main()
{
    char c='0';
    printf("%d %d",sizeof(c),sizeof('0'));
    return 0;
}
3 1
1 2
2 2
2 1
Question 9
The do...while loop is ideal for loop structures that
Do all of the above.
Repeat some process a fixed number of times.
Must check the loop condition before the loop body is executed.
Must execute some process at least one time.
Question 10
When using method overriding, which of the following is true?
The method signature determines which version of an overridden method is invoked.
The number of parameters determines which version of an overridden method is invoked.
The object reference determines which version of an overridden method is invoked.
The class determines which version of an overridden method is invoked.
X
Other recommended quiz for you
Connect with Facebook
OR
Connect with Google
Connecting...Back

Existing users, click here to login



By registering with us, you are agreeing to TERMS AND CONDITIONS of using our products/services.