# Basic Computer Programming Questions For Beginners! Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
| By Fauxaccount
F
Fauxaccount
Community Contributor
Quizzes Created: 1 | Total Attempts: 508
Questions: 5 | Attempts: 508

Settings

Below are some basic computer programming questions for beginners! If you doubt how well you understand the basics of programming you need not worry as the quiz below will help you refresh your mind and you are allowed to take it as many times as you need till you understand every concept included in the questions. All the best!

• 1.

• 2.

### What is a pointer?

• A.

A finger

• B.

A ruler

• C.

A reference to some chunk of memory

• D.

Option 4

A. A finger
Explanation
A pointer is often used in computer programming to refer to a memory location. It is similar to a finger that points to a specific location in memory. By using a pointer, programmers can access and manipulate data stored in that memory location. Therefore, the analogy of a finger is used to explain the concept of a pointer in a relatable way.

Rate this question:

• 3.

### C is object-oriented

• A.

True

• B.

False

A. True
Explanation
Assume C not C++

Rate this question:

• 4.

### A memory location that holds a single letter or number.

• A.

Double

• B.

Int

• C.

Char

• D.

Word

C. Char
Explanation
A char is a data type in programming that is used to store a single letter or number. It is a memory location that can hold a single character. The other options, such as double and int, are used to store numbers with decimal points and whole numbers respectively. The option "word" is not a valid data type in programming. Therefore, the correct answer is char.

Rate this question:

• 5.

### A do while and a while loop are the same

• A.

True

• B.

False

B. False
Explanation
A do while loop and a while loop are not the same. The main difference is that a do while loop executes the code block at least once before checking the condition, whereas a while loop checks the condition first and executes the code block only if the condition is true. Therefore, the correct answer is False.

Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

• Current Version
• Mar 14, 2023
Quiz Edited by
ProProfs Editorial Team
• Jan 13, 2014
Quiz Created by
Fauxaccount

Related Topics