Coding & Tech Quiz Worksheet
QUIZLINO
Set 1 Β· Mixed
Name:Class / Group:Score: / 20
Choose the best answer for each question. The answer key is on the last page.
- Since 2019, Google has promoted which language as the preferred choice for Android apps?
A. Kotlin
B. Swift
C. Dart
D. C#
- Which port does plain HTTP use by default?
A. 443
B. 25
C. 22
D. 80
- Which company originally developed the Bootstrap CSS framework for internal use?
A. Google
B. Twitter
C. Facebook
D. Microsoft
- Which company develops the Pixel line of Android smartphones?
A. Samsung
B. Google
C. OnePlus
D. Xiaomi
- What does 'CSS' stand for?
A. Creative Style Sheets
B. Cascading Style Sheets
C. Computer Style Syntax
D. Colorful Style Sheets
- What is the worst-case time complexity of quick sort?
A. O(n log n)
B. O(nΒ²)
C. O(log n)
D. O(n)
- Which protocol is used to log in securely to a remote server, by default on port 22?
A. FTP
B. SSH
C. Telnet
D. RDP
- Which organisation created the Rust programming language, known for memory safety?
A. Google
B. Mozilla
C. Microsoft
D. Apple
- Which company developed the Android operating system?
A. Apple
B. Google
C. Microsoft
D. Samsung
- Which Git command saves staged changes into the repository history?
A. git save
B. git push
C. git commit
D. git add
- Which algorithm finds shortest paths from one source in a graph with non-negative edge weights?
A. Kruskal's algorithm
B. Prim's algorithm
C. Floyd's cycle detection
D. Dijkstra's algorithm
- In software, what is a 'bug'?
A. A type of virus
B. A hardware part
C. A fast algorithm
D. An error or flaw in a program
- What is Docker mainly used for?
A. Editing images
B. Running applications in containers
C. Designing databases
D. Writing CSS
- What does 'GB' stand for when describing storage?
A. Gigabit
B. Great Byte
C. General Block
D. Gigabyte
- What does 'SQL' stand for?
A. Structured Query Language
B. System Query Logic
C. Standard Question Language
D. Sequential Query Language
- Which company owns MySQL today?
A. Microsoft
B. IBM
C. Google
D. Oracle
- Which keyboard shortcut undoes the last action on Windows?
A. Ctrl + U
B. Ctrl + Y
C. Ctrl + Z
D. Ctrl + X
- Who is often called the first computer programmer?
A. Grace Hopper
B. Ada Lovelace
C. Alan Turing
D. Margaret Hamilton
- Which lightweight data format uses key-value pairs, like {"name":"John"}?
A. XML
B. JSON
C. CSV
D. YAML
- What does 'LED' stand for?
A. Light Emitting Diode
B. Low Energy Display
C. Light Energy Device
D. Linear Electric Diode
Answer key β Coding & Tech (Set 1)
- A. Kotlin β Google announced in 2019 that Kotlin was its preferred language for Android development. Kotlin was created by JetBrains and is fully interoperable with Java.
- D. 80 β Plain HTTP uses port 80 by default. Web servers like Apache and Nginx listen on port 80 for HTTP traffic.
- B. Twitter β Bootstrap was created at Twitter in 2011 by Mark Otto and Jacob Thornton for internal use. It is a popular CSS framework for building responsive websites.
- B. Google β Google designs the Pixel line of Android smartphones, launched in 2016. Pixel phones are known for their cameras and receive Android updates first.
- B. Cascading Style Sheets β CSS (Cascading Style Sheets) controls how web pages look, including colours, fonts and layout. 'Cascading' means that when several rules apply to an element, a set order of priority decides which one wins. It was first proposed by HΓ₯kon Wium Lie in 1994.
- B. O(nΒ²) β Quick sort's worst case is O(nΒ²), when the pivot is always the smallest or largest element. Its average case is O(n log n). Random pivots reduce the risk.
- B. SSH β SSH (Secure Shell) lets users securely log in to remote servers, using port 22 by default. It encrypts all communication, replacing insecure Telnet.
- B. Mozilla β Rust began as a personal project of Graydon Hoare and was sponsored by Mozilla, which helped develop it. Rust 1.0 came in 2015. It is known for memory safety without garbage collection.
- B. Google β Android was started by Android Inc., which Google bought in 2005. Google released Android in 2008, and it is now the world's most used mobile operating system, especially in India.
- C. git commit β 'git commit' saves staged changes as a snapshot in the repository's history, with a message. 'git add' stages files, and 'git push' sends commits to a remote.
- D. Dijkstra's algorithm β Dijkstra's algorithm, devised by Edsger Dijkstra in 1956, finds the shortest paths from one source in a graph with non-negative weights. GPS navigation uses similar algorithms.
- D. An error or flaw in a program β A bug is an error or flaw in a program that causes wrong results or crashes. Finding and fixing bugs is called debugging.
- B. Running applications in containers β Docker packages applications and their dependencies into lightweight containers that run the same way on any computer. It was released in 2013.
- D. Gigabyte β GB stands for gigabyte, about one billion bytes (or 1,024 megabytes in binary). Phone storage and data plans are often measured in GB.
- A. Structured Query Language β SQL (Structured Query Language) is used to manage and query relational databases. Commands like SELECT, INSERT and UPDATE work in MySQL, PostgreSQL and SQLite.
- D. Oracle β Oracle owns MySQL, acquired when it bought Sun Microsystems in 2010. MySQL's original creator, Michael Widenius, then created MariaDB as a fork.
- C. Ctrl + Z β Ctrl + Z undoes the last action in most Windows programs. Ctrl + Y redoes it. On Mac, the shortcut is Command + Z.
- B. Ada Lovelace β Ada Lovelace wrote an algorithm for Charles Babbage's Analytical Engine in 1843, making her the first computer programmer. The Ada programming language is named after her.
- B. JSON β JSON (JavaScript Object Notation) stores data as key-value pairs, like {"name":"John"}. It is lightweight and easy to read, and most web APIs use it to exchange data.
- A. Light Emitting Diode β LED stands for Light Emitting Diode, a semiconductor that glows when current flows. LEDs use far less energy than old bulbs. India's UJALA scheme distributed crores of LED bulbs.