Introduction to Cloud Development with HTML, CSS, JavaScript All Week Quiz
Answers | IBM
Graded Quiz
Question 1)
A developer has complained that all the changes he made to the code were
overwritten by somebody. What tool could have avoided this situation
?
-
A version control system like Git
Question 2)
What package manager(s) does Python use ? (Select all that apply)
Question 3)
When a user tries to login to a website, he/she gets an authentication
failure error. Who do you think can fix this error ?
Question 4)
If Python is being used in your application development, where are you
likely to see it ?
Question 5)
What would you associate an API with ?
Question 6)
What package manager does Node.js use ?
Question 7)
Which of the following is NOT a required skill for a front-end developer
?
Question 8)
In addition to SQL, which tool can help you access databases ?
Question 9)
A user has complained that the website is readable on desktop but not on
mobile. Who can help solve this problem ?
Question 10)
Who handles authentication and authorization ?
Graded Quiz
Question 1)
Which of the following statements embeds an image in an HTML document
?
-
<img src=”image URL” alt=”alternate text”>
Question 2)
When defining a hyperlink (< a >), which attribute is used to
specify the destination address ?
Question 3)
How are comments written in HTML ?
-
< !-- This is a comment -- >
Question 4)
Which tag preserves the spaces and line breaks of a given text when
displayed ?
Question 5)
Which style is given priority, when multiple styles are specified for a
single element ?
Question 6)
Which tag CANNOT be used as a container for text ?
Question 7)
What is the <br> tag used for ?
Question 8)
Which is the universal selector in CSS ?
Question 9)
Which tag is used to create an ordered list ?
Question 10)
Which selector helps to select all elements of a document, except
paragraphs ?
Graded Quiz
Question 1)
What type of element is <article> ?
Question 2)
Which of the following tags define a caption for a < fieldset >
element ?
Question 3)
Which user interface feature makes it easy to copy, reorder, and
delete items ?
Question 4)
How do you define the document type in HTML5 ?
Question 5)
Which element defines a caption for the <figure> element
?
Question 6)
Which is the default character encoding in HTML5 ?
Question 7)
Which of the following is a new form feature added in HTML5 ?
Question 8)
Which semantic tag is used to display any content which is indirectly
related to the main content of the document ?
Question 9)
Which API in HTML5 allows you to identify the location of the user
?
Question 10)
Which type of input control would be most apt for selecting gender in
a form ?
Graded Quiz
Question 1)
In the following declaration, what is the type of the variable ‘pi’
?
var pi = “3.14”;
Question 2)
How do you define an array called array1 in JavaScript ?
Question 3)
What does the following statement do ?
var ndate = new Date() ;
-
Assigns the current local time to ndate
Question 4)
True or False: 10car is a valid variable name in
JavaScript.
Question 5)
How are numbers converted to strings ?
Question 6)
What is the value of ‘total’ after the following statement is executed
?
var total = 10 + 1 +” 3”;
Question 7)
What would the alert be, when the following code is executed ?
var a = new String(“Hello”);
var b = “Hello”;
if (a === b){
alert(“Same”);
} else{
alert(“Different”);
}
Question 8)
Which of the following is a valid declaration of an object ?
-
var a = {name:”John”,age:55}
Question 9)
Which of the following is not an event binder in JavaScript ?
Question 10)
Which event is fired when a user clicks on an element in a webpage ?
Graded Quiz
Question 1)
How is GitHub related to Git ?
-
GitHub is an online hosting service for Git repositories
Question 2)
Which of the following tasks must you complete before you can start
work in GitHub ?
-
Verify your email address
Question 3)
What are commits ?
Question 4)
To sync local changes back to the GitHub repository you run three
commands, what is the final command ?
Question 5)
Which command can a repository administrator use to allow anonymous
downloads from repos ?
Question 6)
What is a repository ?
-
A data structure that stores documents and source code
Question 7)
True or False: When you create a repository, you can add a license
file to tell people how they can use your code.
Question 8)
What happens if you make a change on a branch you don't own
?
-
GitHub automatically makes a pull request
Question 9)
What are the three most commonly used operations when working with
remote repositories ?
Question 10)
When managing forks, which command can you use to fetch and merge the
remote branch in a single step ?
2 Comments
Bro , what the project can you help me out ?
ReplyDelete
DeleteBro in Project you need to create a simple html file & host on IBM cloud:
How to Host a Static Website on IBM Cloud:
https://lovelake4u.blogspot.com/2021/08/how-to-host-static-website-on-ibm-cloud.html