Digital Systems and Programming Flashcards
7 cards from real ICAS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Digital Systems and Programming flashcards as text
Which of the following is true about an array in programming?
Answer: It stores multiple values of the same type under one name
An array is a data structure that holds multiple values, typically of the same type, accessible by an index.
What is the purpose of a flowchart in problem solving?
Answer: To visually represent the steps of an algorithm or process
A flowchart uses symbols and arrows to visually map out the steps and decisions in an algorithm or process.
What does 'phishing' refer to in cybersecurity?
Answer: A fraudulent attempt to steal sensitive information by pretending to be a trusted source
Phishing is a cyberattack where criminals disguise themselves as trustworthy entities to trick people into revealing passwords or financial information.
In binary arithmetic, what is 101 + 011?
Answer: 1000
101 (5) + 011 (3) = 1000 (8) in binary, since 5 + 3 = 8.
What is the function of a router in a network?
Answer: To direct data packets between different networks
A router directs network traffic by forwarding data packets between computer networks, such as your home network and the Internet.
Which programming concept allows a function to call itself?
Answer: Recursion
Recursion is the technique where a function calls itself as part of its own definition to solve a problem.
What does 'encryption' do to data?
Answer: Converts data into a coded format that can only be read with the correct key
Encryption transforms data into an unreadable coded format, protecting it from unauthorized access until it is decrypted with the correct key.