IT and Programming Concepts Flashcards
7 cards from real Robert Half Assessment Test practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 IT and Programming Concepts flashcards as text
What is the difference between a compiler and an interpreter?
Answer: A compiler translates the whole program before execution; an interpreter executes code line by line
A compiler converts entire source code to machine code before running, while an interpreter translates and executes one line at a time.
In networking, what is the function of a firewall?
Answer: To monitor and filter incoming and outgoing network traffic based on rules
A firewall enforces security policies by allowing or blocking traffic based on predefined rules.
Which of the following best describes cloud computing?
Answer: Delivering computing services like storage and processing over the internet
Cloud computing delivers on-demand computing resources — servers, storage, databases, networking — over the internet.
What is a binary search algorithm most useful for?
Answer: Searching for a value in a sorted list efficiently
Binary search repeatedly halves the search space, making it O(log n) efficient — but it requires the list to be sorted first.
What does 'debugging' refer to in software development?
Answer: Identifying and fixing errors or defects in code
Debugging is the process of finding, isolating, and resolving bugs or unexpected behavior in software.
In HTML, which tag is used to create a hyperlink?
Answer:
The (anchor) tag with an href attribute creates clickable hyperlinks in HTML.
What is the purpose of an index in a relational database?
Answer: To speed up data retrieval operations on a table
A database index creates a data structure that allows faster lookups, similar to a book's index pointing to page numbers.