Explore topic-wise MCQs in Basic C.

This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Basic C knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the correct syntax to designate a default button?

A. Form.default=button1
B. Form.defaultButton=button1
C. Form.AcceptButton=button1
D. Form.focused=button1
Answer» D. Form.focused=button1
2.

How is a default button designated?

A. Default keyword in the definition of the button
B. Setting the setfocus property to on
C. Keeping the button at the bottom of the form
D. By connecting the AcceptButton property to it
Answer» E.
3.

How many default buttons can a form have?

A. 1
B. 2
C. 3
D. 4
Answer» B. 2
4.

The Cancel Button’s procedure is accessed by __________ key.

A. Esc
B. Alt
C. Ctrl
D. Shift
Answer» B. Alt
5.

What is the specialty of the Default button?

A. Always focused by default
B. Always clears the form it is in
C. Can be selected by the Enter key even when not focused
D. Can be selected by the Shift key even when not focused
Answer» E.
6.

What is wrong with the below statement?

A. Used double quotes, should have used single quotes
B. No errors
C. There should be spaces before and after each &
D. Should have ended with a ;View Answer
Answer» D. Should have ended with a ;View Answer
7.

ControlChars.NewLine constant is a __________ constant.

A. Pure
B. Invariable
C. Character
D. Intrinsic
Answer» E.
8.

Which of the following is called the line continuation character?

A. *
B. ^
C.
D. _
Answer» E.
9.

__________ can be used to advance the insertion point in a file or on the printer.

A. Advance pointer
B. Nextpoint pointer
C. NextLine constant
D. ControlChars.NewLine constant
Answer» E.
10.

The __________ constant instructs the computer to advance the insertion point to the next line in control.

A. ControlChars.NewLine
B. ControlChars.NextLine
C. ControlChars.Line
D. ControlChars.blankLine
Answer» B. ControlChars.NextLine