Google Hackathon Fundamentals Quiz

Last Updated :
Discuss
Comments

Question 1

What is the main difference between microcomputers and mainframe computers in terms of usage?

  • A

    Personal users and enterprise workloads

  • B

    Greater power and smaller storage limits

  • C

    Identical tasks and identical performance

  • D

    Smaller systems and lower computing power

Question 2

Which component of the CPU is responsible for directing the operation of the processor?

  • A

    Cache

  • B

    Control Unit

  • C

    Register

  • D

    Clock

Question 3

Why is quoting attribute values considered a best practice?

  • A

    It automatically generates alternative HTML

  • B

    It forces the browser to ignore extra tags

  • C

    It improves the loading speed of webpages

  • D

    It helps avoid errors when values include spaces

Question 4

How many times will the loop run?

C++
#include <iostream>
using namespace std;

int main() {
    for (int i = 1; i < 15; i++) {
        cout << i << endl;
    }
    return 0;
}
  • A

    14

  • B

    16

  • C

    Error

  • D

    15

Question 5

Predefined words in a programming language that have a special meaning and cannot be used as a variable name or function name are called

  • A

    data types

  • B

    keywords

  • C

    predefined words

  • D

    literals

Question 6

What does line-height: 1.5; mean?

  • A

    Sets font size to 1.5px

  • B

    Makes text bold

  • C

    Sets spacing between letters

  • D

    Sets line spacing to 1.5 times the font size

Question 7

Which property is used to remove the bullet points in an unordered list?

  • A

    list-style-type: none;

  • B

    bullet: hidden;

  • C

    remove-bullet: true;

  • D

    list-decoration: none;

Question 8

Which type of RAM is known for its high speed and is commonly used in cache memory?
  • A
    Dynamic RAM (DRAM)
  • B
    Read Only Memory (ROM)
  • C
    Static RAM (SRAM)
  • D
    Flash Memory

Question 9

What is a characteristic feature of Erasable Programmable ROM (EPROM)?

  • A

    It is permanently programmed during manufacturing

  • B

    It can be erased using UV light and reprogrammed

  • C

    It is volatile and loses data when powered off

  • D

    It can only be read, not written

Question 10

What is the do-while loop also known as?

  • A

    Entry control

  • B

    Exit control

  • C

    Per tested

  • D

    All of the above

There are 36 questions to complete.

Take a part in the ongoing discussion