Programming MCQs Feed

📊 PHP
Q. what is the output of below program?
Code:
<?php
$a=0;
$b=0;

for($i=0;$i<10;$i++)
{
      if(++$a<5 && $b++<7){  }
}
echo $a." ".$b;
?>
  • (A) 6 4
  • (B) 4 10
  • (C) 10 4
  • (D) 10 10
💬 Discuss
✅ Correct Answer: (C) 10 4
📊 Microsoft Word
Q. Each line represents how many letters in WordStar?
  • (A) 20
  • (B) 35
  • (C) 65
  • (D) 75
💬 Discuss
✅ Correct Answer: (C) 65
📊 Microsoft Word
Q. If you want to convert a symbol or several lines of text into an AutoCorrect entry, you should:
  • (A) Insert the symbol or type the text in a Word document first. Then, select the text or symbol and click the Edit menu followed by Paste Select New AutoCorrect Entry and then click OK.
  • (B) AutoCorrect can only accommodate one line of text. It is not possible to convert a symbol or multiple lines of text into an AutoCorrect.
  • (C) Click the Tools menu and choose AutoCorrect Options. Then, click the Insert menu and choose Symbol (or click the Format menu and Paragraph) to add the symbol or paragraph to AutoCorrect.
  • (D) Insert the symbol or type the text in a Word document first. Then, select the text or symbol and go to the AutoCorrect dialog box.
💬 Discuss
✅ Correct Answer: (D) Insert the symbol or type the text in a Word document first. Then, select the text or symbol and go to the AutoCorrect dialog box.
📊 Microsoft Word
Q. What is the default number of lines to drop for drop cap?
  • (A) 3
  • (B) 10
  • (C) 15
  • (D) 20
💬 Discuss
✅ Correct Answer: (A) 3
📊 Microsoft Power Point
Q. Which of the following can be use as slide background?
  • (A) Picture
  • (B) Gradient
  • (C) Texture
  • (D) All of the Above
💬 Discuss
✅ Correct Answer: (D) All of the Above
📊 Microsoft Access
Q. What data type should you choose for a zip code field in a table?
  • (A) Memo
  • (B) Text
  • (C) Number
  • (D) All of the above
💬 Discuss
✅ Correct Answer: (B) Text
📊 Microsoft Access
Q. What is one of the advantages for using a form over other Access objects?
  • (A) Utilizes field placement to improve the efficiency of data entry
  • (B) Forms store information more efficiently
  • (C) Forms show the summary of all the records
  • (D) Forms cannot be edited
💬 Discuss
✅ Correct Answer: (A) Utilizes field placement to improve the efficiency of data entry
📊 Microsoft Power Point
Q. The layout of elements such as title and subtitle text, images, tables, etc. is called _______
  • (A) Layout
  • (B) Presentation
  • (C) Design
  • (D) Schema
💬 Discuss
✅ Correct Answer: (A) Layout
📊 MS Dos
Q. Which of the following commands allows you to make a directory?
  • (A) MAKE
  • (B) DIR
  • (C) MD
  • (D) DD
💬 Discuss
✅ Correct Answer: (C) MD
📊 Microsoft Excel
Q. In MS Excel, the keyboard shortcut key to Open the Save As dialog box is
  • (A) Ctrl+S
  • (B) F2
  • (C) Ctrl+N
  • (D) F12
💬 Discuss
✅ Correct Answer: (D) F12