Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 230
Q3121:
What are src, width, and height in the <img> tag?
A. Tags
B. Elements
C. Attributes
D. Values
Correct Answer:
C
Chapter: 230
Q3122:
In the <img> tag, what does the src attribute specify?
A. The width of the image
B. The location of the image file
C. The height of the image
D. The name of the image
Correct Answer:
B
Chapter: 230
Q3123:
Which of the following is an example of a block element in HTML?
A. <b>
B. <img>
C. <ul>
D. <a>
Correct Answer:
C
Chapter: 230
Q3124:
What is the behavior of inline elements in an HTML document?
A. They start on a new line
B. They are displayed without starting a new line
C. They are invisible
D. They create a new paragraph
Correct Answer:
B
Chapter: 230
Q3125:
Fill in the blank: An HTML element can have multiple ______ before the end tag.
A. lines
B. headings
C. elements
D. images
Correct Answer:
C
Chapter: 230
Q3126:
How do you save a file as an HTML document in Notepad?
A. Save as .txt
B. Save as .doc
C. Save as .html
D. Save as .exe
Correct Answer:
C
Chapter: 230
Q3127:
After saving an HTML file, how do you view it in a browser?
A. Right-click and open with Notepad
B. Double-click the file
C. Open with a word processor
D. Save as a text document
Correct Answer:
B
Chapter: 230
Q3128:
Fill in the blank: To represent the content of the page visible to the end user, we use the tags <body> and ______.
A. <html>
B. </body>
C. <h1>
D. <p>
Correct Answer:
B
Chapter: 230
Q3129:
Which HTML tags are used to represent content that starts on a new line in a browser?
A. Inline elements
B. Block elements
C. List elements
D. Script elements
Correct Answer:
B
Chapter: 230
Q3130:
Fill in the blank: To create an HTML page using Notepad, you start by opening a ______.
A. web browser
B. text editor
C. graphic editor
D. database
Correct Answer:
B
Chapter: 230
Q3131:
What will be the icon appearance after saving an HTML file in Notepad and opening it with a browser?
A. A text document icon
B. A word document icon
C. A web page icon
D. A database icon
Correct Answer:
C
Chapter: 231
Q3132:
What is Adobe Dreamweaver primarily used for?
A. Writing JavaScript
B. Developing websites and mobile applications
C. Editing text files
D. Designing graphics
Correct Answer:
B
Chapter: 231
Q3133:
Which view in Dreamweaver provides a fully editable visual representation of the document?
A. Code view
B. Design view
C. Split Code view
D. Live view
Correct Answer:
B
Chapter: 231
Q3134:
What feature does the Document toolbar in Dreamweaver provide?
A. Options for different views of the Document window
B. Code auto-completion
C. Syntax highlighting
D. Code introspection
Correct Answer:
A
Chapter: 231
Q3135:
In which view can you see both HTML code and visual representation simultaneously?
A. Design view
B. Code view
C. Split Code view
D. Live view
Correct Answer:
C
Chapter: 231
Q3136:
Fill in the blank: The Property Inspector in Dreamweaver is used to _______.
A. Create new files
B. Display and edit attributes of selected elements
C. Save the project
D. Preview the document
Correct Answer:
B
Chapter: 231
Q3137:
What is the purpose of the Live view in Dreamweaver?
A. To edit the document
B. To display a realistic representation of the document
C. To write code
D. To split the code view
Correct Answer:
B
Chapter: 231
Q3138:
Which Dreamweaver view is not editable but reflects changes made in Code view?
A. Design view
B. Live view
C. Code view
D. Split Code view
Correct Answer:
B
Chapter: 231
Q3139:
Fill in the blank: The Code view in Dreamweaver is used for _______.
A. Visual page layout
B. Writing and editing HTML, JavaScript
C. Previewing in a browser
D. Arranging elements on the page
Correct Answer:
B
Chapter: 231
Q3140:
Which view in Dreamweaver shows the actual code executed by the browser?
A. Design view
B. Live Code view
C. Code view
D. Split Code view
Correct Answer:
B