Web Design S6 Gui And Forms Scripting

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.
Learn about Our Editorial Process
| By Blahdey
B
Blahdey
Community Contributor
Quizzes Created: 3 | Total Attempts: 532
Questions: 20 | Attempts: 71

SettingsSettingsSettings
Web Design S6 Gui And Forms Scripting - Quiz

.


Questions and Answers
  • 1. 

    Name an example of high level language

    • A.

      Hindi language

    • B.

      None

    • C.

      Java

    • D.

      Both A and C

    • E.

      French language

    Correct Answer
    C. Java
    Explanation
    Java is an example of a high-level language because it is designed to be easily understood by humans and provides a level of abstraction from the underlying hardware. High-level languages like Java allow programmers to write code that is more readable and closer to natural language, making it easier to develop complex applications. Java is widely used for web and mobile app development, and its syntax and features make it a popular choice for many developers.

    Rate this question:

  • 2. 

    What is Binary Languge?

    • A.

      A language made of 1's and 0's

    • B.

      High level and low level language

    • C.

      A language made of 2's and 3's

    • D.

      Both of them

    • E.

      None of them

    Correct Answer
    A. A language made of 1's and 0's
    Explanation
    Binary language is a language that is made up of 1's and 0's. In this language, each digit represents a bit, which can be either on (1) or off (0). It is the fundamental language used by computers to communicate and process information. The binary system is based on the concept of representing numbers and characters using only two digits, 1 and 0, which can be easily interpreted by electronic circuits. Therefore, a binary language consists of combinations of these two digits to represent different instructions, data, and operations in a computer.

    Rate this question:

  • 3. 

    What is the definition of a variable?

    • A.

      Variables store data for the program to work with. A variable could contain text or numerical values.

    • B.

      Variables allow decisions to be made in a program

    • C.

      Variables receive data and messages enabling two or more computers to communicate

    • D.

      All of these

    • E.

      None of these

    Correct Answer
    A. Variables store data for the program to work with. A variable could contain text or numerical values.
    Explanation
    The correct answer is "Variables store data for the program to work with. A variable could contain text or numerical values." This is because variables are used to store and manipulate data in a program. They can hold different types of data, such as text or numerical values, and allow the program to perform operations and make decisions based on the stored data.

    Rate this question:

  • 4. 

    What's the difference between high level and low level languages?

    • A.

      High level is written in capitals and low level is written in lower case.

    • B.

      High level is hard and low level is easy.

    • C.

      High level language is used by software and low level languages is used by hardware.

    • D.

      Low level languages is made of 1's and 0's and high level language is BASIC, COBOL, FORTRAN, C++, etc.

    • E.

      None of the above.

    Correct Answer
    D. Low level languages is made of 1's and 0's and high level language is BASIC, COBOL, FORTRAN, C++, etc.
    Explanation
    The correct answer is that low level languages are made of 1's and 0's, while high level languages are represented by programming languages such as BASIC, COBOL, FORTRAN, C++, etc. This explanation highlights the fundamental difference between low level and high level languages, where low level languages are closer to the machine code and use binary representation, while high level languages are more user-friendly and use programming languages that are easier for humans to understand and write.

    Rate this question:

  • 5. 

    What is machine language?

    • A.

      A language used by cars.

    • B.

      Machine language is made of 1's and 0's.

    • C.

      Machine language is made of 7's and 8's.

    • D.

      A language that only understands plain engilsh.

    • E.

      None of the above.

    Correct Answer
    B. Machine language is made of 1's and 0's.
    Explanation
    Machine language is the lowest-level programming language understood by computers. It consists of binary digits, specifically 1's and 0's, which represent instructions and data that the computer can execute. Each instruction in machine language is represented by a specific sequence of 1's and 0's, allowing the computer to understand and execute the desired operations. This language is directly executed by the computer's hardware and is not easily readable or writable by humans. Therefore, the correct answer is that machine language is made of 1's and 0's.

    Rate this question:

  • 6. 

    Low level languages can be divided into four categories

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 7. 

    Which two categories can low level language be divided into?

    • A.

      Assembly language

    • B.

      Basic language

    • C.

      Machine language

    • D.

      Cobol language

    • E.

      None of these

    Correct Answer(s)
    A. Assembly language
    C. Machine language
    Explanation
    Low level language can be divided into two categories: assembly language and machine language. Assembly language is a low level programming language that uses mnemonic codes to represent machine instructions. It is specific to a particular computer architecture. Machine language, on the other hand, is the lowest level of programming language that directly communicates with the computer's hardware. It consists of binary code that the computer's processor can understand and execute. Both assembly language and machine language provide a level of control and efficiency that higher level languages like BASIC and COBOL do not offer.

    Rate this question:

  • 8. 

    Assembly language is machine dependent

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Assembly language is machine dependent because it is specific to a particular computer architecture or processor. It uses mnemonic codes and symbols to represent the machine instructions and memory locations, which are then translated into machine code by an assembler. Since different processors have different instruction sets and memory organizations, assembly language programs written for one processor may not be compatible with another. Therefore, assembly language is considered machine dependent as it relies on the specific characteristics and features of a particular machine or processor.

    Rate this question:

  • 9. 

    What are some examples of high level languages?

    • A.

      BASIC

    • B.

      COBOL

    • C.

      FORTRAN

    • D.

      C++

    • E.

      All of these

    Correct Answer
    E. All of these
    Explanation
    The correct answer is "all of these" because BASIC, COBOL, FORTRAN, and C++ are all examples of high-level programming languages. High-level languages are designed to be easily understood and written by humans, allowing programmers to focus on problem-solving rather than machine-specific details. These languages provide a higher level of abstraction and are closer to human language, making them more user-friendly and efficient for software development.

    Rate this question:

  • 10. 

    A computer language is not a programming language

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement "a computer language is not a programming language" is false. A computer language and a programming language are essentially the same thing. Both terms refer to a set of rules and syntax used to communicate instructions to a computer. Therefore, it is incorrect to say that a computer language is not a programming language.

    Rate this question:

  • 11. 

    The following is the first tag of a form:

    • A.

      The TextArea tag

    • B.

      The Form tag

    • C.

      The Select tag

    • D.

      The Input tag

    Correct Answer
    B. The Form tag
    Explanation
    The correct answer is the Form tag. The Form tag is the first tag of a form and is used to create an HTML form for user input. It is used to group and organize various form elements such as input fields, checkboxes, radio buttons, etc. The Form tag is essential for handling form submission and sending data to a server for processing.

    Rate this question:

  • 12. 

    Which of the following is an acceptable action in the form tag?

    Correct Answer
    B. Action="mailto:[email protected]"
    Explanation
    The correct answer is action="mailto:[email protected]". This is an acceptable action in the form tag because it specifies that the form data should be sent via email to the specified email address. The "mailto:" protocol is used to indicate that the form data should be sent as an email. The email address provided in this case is "[email protected]".

    Rate this question:

  • 13. 

    The following method is used when an infinite amount of data is entered in the form:

    • A.

      Get

    • B.

      Textarea

    • C.

      Post

    • D.

      Infinite

    Correct Answer
    C. Post
    Explanation
    The "post" method is used when an infinite amount of data is entered in the form. This method is commonly used when submitting large amounts of data to a server, as it allows for the transmission of unlimited data. In contrast, the "get" method is limited in the amount of data it can transmit. The "textarea" element is a form element that allows users to input multiple lines of text.

    Rate this question:

  • 14. 

    The following method is used when there is LIMITED data sent in the form:

    • A.

      Limit

    • B.

      Post

    • C.

      Input

    • D.

      Get

    Correct Answer
    D. Get
    Explanation
    The "get" method is used when there is limited data sent in the form. This method appends the form data to the URL in the form of query parameters. It is commonly used for simple and short requests, such as retrieving data or performing searches. In contrast, the "post" method is used when there is a larger amount of data sent in the form, and it sends the data in the body of the HTTP request.

    Rate this question:

  • 15. 

    The following tag is used to define a checkbox:

    • A.

      Input type="select" name="top1" value="roni"

    • B.

      Input type="checkbox" name="top1" value="roni"

    • C.

      Input type = "check" name="top1" value="roni"

    • D.

      Input type = "checkbox" name="top1"

    Correct Answer
    B. Input type="checkbox" name="top1" value="roni"
    Explanation
    The correct answer is "input type='checkbox' name='top1' value='roni'". This is because the "input" tag is used to define an input element in an HTML form, and the "type" attribute specifies the type of input element. In this case, the "type" attribute is set to "checkbox", indicating that it is a checkbox input. The "name" attribute is used to give the input element a name, which in this case is "top1". The "value" attribute is used to specify the value that is sent to the server when the checkbox is checked. In this case, the value is set to "roni".

    Rate this question:

  • 16. 

    Which of the following statements is TRUE about radio buttons:

    • A.

      Values do not need to be defined.

    • B.

      All the names must be different.

    • C.

      Using the name attribute is optional.

    • D.

      All the names must be the same.

    Correct Answer
    D. All the names must be the same.
    Explanation
    Radio buttons are a type of input element in HTML that allow users to select only one option from a list. In order for the radio buttons to function correctly, all of them should have the same name attribute. This ensures that when one radio button is selected, the others are automatically deselected. Therefore, the statement "All the names must be the same" is true.

    Rate this question:

  • 17. 

    Which of the following tags are used to define a drop down list:

    • A.

      Select and option

    • B.

      List and option

    • C.

      Select and value

    • D.

      Menu and option

    Correct Answer
    A. Select and option
    Explanation
    The correct answer is "select and option". The select tag is used to create a drop-down list, while the option tag is used to define the individual options within the list. Together, they allow users to select one option from a list of choices.

    Rate this question:

  • 18. 

    The following attributes may be added to the input type = 'text" name = "favorite" tag:

    • A.

      Maxlength=50 size=40 value="enter data here"

    • B.

      Maxlength=50 width=40

    • C.

      Cols=50 rows=3

    • D.

      Size=50 cols=40 value="enter data here"

    Correct Answer
    A. Maxlength=50 size=40 value="enter data here"
    Explanation
    The correct answer is "maxlength=50 size=40 value="enter data here"". This is because the "maxlength" attribute specifies the maximum number of characters that can be entered in the input field, the "size" attribute sets the visible width of the input field, and the "value" attribute sets the initial value of the input field to "enter data here".

    Rate this question:

  • 19. 

    The following tag is used to send the data in the form to the recipient:

    • A.

      Submit name="submit" value="submit"

    • B.

      Send data

    • C.

      Input type="submit" name="submit" value="submit"

    • D.

      Input type="reset" name="reset" value="reset"

    Correct Answer
    C. Input type="submit" name="submit" value="submit"
    Explanation
    The correct answer is "input type="submit" name="submit" value="submit"". This is because the input type "submit" is specifically designed to be used in forms to send data to the recipient. The name attribute is used to identify the input element, and the value attribute specifies the text that will be displayed on the button.

    Rate this question:

  • 20. 

    The following tag is used to clear out the selected choices and restart the form:

    • A.

      Input type = "submit" name="reset" value="reset"

    • B.

      Input type="clear" name="reset" value="reset"

    • C.

      Input type="reset" name="reset" value="reset"

    • D.

      Reset data

    Correct Answer
    C. Input type="reset" name="reset" value="reset"
    Explanation
    The correct answer is "input type='reset' name='reset' value='reset'". This is because the input type="reset" creates a button that, when clicked, resets all the form fields to their default values. The name attribute is used to identify the button, and the value attribute specifies the text that appears on the button.

    Rate this question:

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.