Google Hackathon Fundamentals Quiz

Last Updated :
Discuss
Comments

Question 1

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

  • Personal users and enterprise workloads

  • Greater power and smaller storage limits

  • Identical tasks and identical performance

  • Smaller systems and lower computing power

Question 2

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

  • Cache

  • Control Unit

  • Register

  • Clock

Question 3

Why is quoting attribute values considered a best practice?

  • It automatically generates alternative HTML

  • It forces the browser to ignore extra tags

  • It improves the loading speed of webpages

  • 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;
}
  • 14

  • 16

  • Error

  • 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

  • data types

  • keywords

  • predefined words

  • literals

Question 6

What does line-height: 1.5; mean?

  • Sets font size to 1.5px

  • Makes text bold

  • Sets spacing between letters

  • 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?

  • list-style-type: none;

  • bullet: hidden;

  • remove-bullet: true;

  • list-decoration: none;

Question 8

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

Question 9

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

  • It is permanently programmed during manufacturing

  • It can be erased using UV light and reprogrammed

  • It is volatile and loses data when powered off

  • It can only be read, not written

Question 10

What is the do-while loop also known as?

  • Entry control

  • Exit control

  • Per tested

  • All of the above

There are 36 questions to complete.

Take a part in the ongoing discussion