Practice
137 multiple-choice questions and 32 exam-style open questions. Answers are saved in this browser; filter by unit.
Multiple choice
What is the main purpose of this course?
Which statement describes the IT productivity paradox?
Which item is NOT part of an information system as defined in the lecture?
Which memory loses its content when the computer is switched off?
A web server without screen or keyboard that delivers pages to browsers is an example of a:
Which is NOT a reason to split software into modules?
Which of these is a concern of the IT side rather than the business side?
According to the lecture, which share of IT projects fails?
Which is NOT a characteristic of an algorithm?
Which statement is correct?
In which step are syntax errors detected?
Which flow chart symbol stands for Read and Write?
A loop must allow at most three PIN attempts. Which technique fits best?
Sum ← 0; read Number; While Number ≠ 0: Sum ← Sum + Number. What is wrong?
For X from 2 to 10 Step 3 runs the body for:
What is a Nassi-Schneiderman diagram also called?
Which byte adds up to 99?
Which property belongs to assembler?
How does Python translate a program in the course's terms?
What is the value of 2 + 3 * 2 ** 2?
Which Python data structure corresponds to the record type?
A function receives a list and appends an element to it. After the call, the caller's list:
Which statement about the file type is correct?
In not A or B and C, which operator is evaluated last?
What does print(7 / 2, 7 // 2, 7 % 2) print?
x = input("Number: ") and the user types 4. What is x * 2?
With s = "Business", what is s[-3:]?
Which expression gives the last digit of the whole number n?
What is the type of 10 / 5?
What does "VUB".lower() * 2 give?
Which statement converts the text "3.5" into a number?
What is printed by print("a", "b", sep="")?
What does round(7.456, 1) give?
How many times does print run? for i in range(2, 12, 3): print(i)
i = 1; while i < 10: i = i * 2. What is i after the loop?
score = 75. Which letter does the program above give?
Which loop is guaranteed to run its body at least once in Python?
Which code prints 1 to 5 each on a line?
n = 0; while n != 5: n += 2. What happens?
What does this print? for c in "abc": print(c, end="")
In the ATM, the customer types 1111, 2222, 1234. What happens?
Which structure fits "the set of countries a customer has visited, without duplicates"?
t = (1, 2, 3); t[0] = 9. What happens?
a = [3, 1, 2]; b = a.sort(); print(b)
a = [1, 2]; b = a; b.append(3); print(a)
d = {"a": 1}; d["b"] = 2; d["a"] = 5; print(d)
len({1, 1, 2, 3, 3})?
Which expression gives the number of items in a dictionary d?
mat = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]; print(mat[2 // 4][5 % 3])
Which call removes an element from a set without an error when it is absent?
def f(x): print(x * 2). What does print(f(3)) show?
def add(a, b=10): return a + b. What is add(5)?
def f(n): n = n + 1. x = 5; f(x); print(x)
def f(lst): lst.append(1). a = []; f(a); f(a); print(a)
Which statement ends a function immediately and hands back a value?
A file stock.txt holds three lines. What does len(open("stock.txt").readlines()) give?
What happens to the existing content when you open a file with "w"?
def investment(amount, years, interest) is called as investment(1000, 0.1, 4). What is wrong?
d = {"john": 40}; print(d[john]). What happens?
print("start"); x = [1, 2][5]; print("end"). What is shown?
Which error does int("12a") raise?
What does print(3 * "ab", 3 * 2.0) show?
for i in [2, 3]: print(i * (i * 2 + 1)). What is printed?
Which situation raises an AttributeError?
def f(): return 1; print(2). What does print(f()) show?
Which is an edge case for a function that averages a list?
Which BPMN element shows a message between a customer and a company?
A process goes on with any combination of "send brochure" and "call customer", possibly both. Which gateway?
Every Sunday evening the system sends recommendation emails. How does the process start?
The finance department inside the company pool is best drawn as:
Which of these is an artifact in BPMN?
"Withdraw money" always adjusts the balance. Relationship between Withdraw money and Adjust balance?
"Buy car" can optionally be followed by "Add comfort pack". Relationship?
In UML use case diagrams, which can be an actor?
A parallel gateway with three outgoing flows. How many are taken?
Which task duration identifies a milestone?
Shooting the video can start only after rehearsing has finished. Which link?
A camcorder rented at 250.00 per week is which resource type?
Video tapes consumed during filming are:
An electrician resource has max units 200%. This means:
Two people at 10.00/h and 20.00/h work 3 days of 8 hours on a task. Work cost?
Which tasks belong to the critical path?
A task off the critical path has 3 days of slack and slips 2 days. The project end date:
Which view shows tasks as boxes linked by dependencies?
Advanced filter criteria: row 1 City = Brussels and Amount > 100; row 2 City = Ghent. Which records are shown?
Which is the ideal primary key?
Students and courses: a student takes many courses and a course has many students. How is this mapped?
A cell holding "Python, Excel, SQL" as the skills of an employee violates:
A room belongs to exactly one building and disappears with it. Which relationship?
"A savings account is an account." Which relationship?
In the staff table, Nora has supervisor NULL. This means:
What does multiplicity 0..1 on the Category side of Product mean?
Which statement about a surrogate key is FALSE?
A network under the control of one company that also gives its suppliers limited access is:
How many links does a fully connected network of 6 nodes need?
Which phase of computer architecture used dumb clients?
Which statement about the client/server phase is correct?
According to Moore's law, how many times more transistors after 6 years?
Which is NOT one of the principles of ARPANET?
The third wave of IT means:
Which protocol is used to transfer web pages?
Earbuds connected to a phone form a:
A major risk of the browser and cloud phase is:
Which is the FIRST stage in selecting an ERP system?
According to the lecture, what share of ERP projects fails from a return on investment point of view?
Which is NOT a main reason for ERP failure in the lecture?
A self-service portal where customers check their orders is which CRM type?
A telecom company raises fees for customers on whom it loses money, hoping they leave. This is:
Why is SCM without IT not feasible according to the lecture?
An ERP project costs 900,000 and gives a net benefit of 300,000 a year. Payback?
The main advantage of ERP is that:
A citizen files a tax return on the government website. From the government's service point of view, this is:
Two companies exchange orders and invoices automatically with EDI. Type?
Selling your old bike on a second-hand platform is:
Which was NOT one of Boo.com's problems according to the lecture?
Boo.com's conversion rate of 0.25% means:
With 50 million in cash and a monthly loss of 10 million, the runway is:
Which classification of e-commerce uses wired, wireless and mobile?
What does the lecture conclude from the dot-com failures?
Which is NOT one of the five NIST characteristics of cloud computing?
A start-up rents virtual servers and installs its own operating system and software. Model?
A company uses an online CRM application in the browser without installing anything. Model?
The whole payroll process is handled by an external provider through a web interface. Model?
Which malware spreads over networks by itself without attaching to a program?
Somebody searches a company's waste containers for printed passwords. This is:
How many times more combinations does a 9-character lowercase password have than an 8-character one?
Which measure protects data in transit on the web?
In the outsourcing case of the lecture, the CRM project planned for 18 months took about:
Low coupling in SOA means:
Which effect makes advertisers join a video platform because many viewers use it?
Which statement fits the reader "Is data the new oil?"
What prevents spending the same bitcoin twice?
Which is NOT one of the conditions for Bitcoin to go mainstream?
Which technology is the foundation of cloud computing according to the cloud reader?
A cloud dedicated to one bank for security reasons is a:
A letter says you won a lottery but must pay administration fees first. This is:
According to the Nexus review, what lets humans cooperate in large numbers?
Exam-style open questions
Why IT knowledge matters to managers
Explain with two arguments and one example why a manager needs knowledge of IT, even if she will never program.
Show a model answer outline
- Better communication with IT specialists: fewer misunderstood agreements, fewer failed projects.
- Efficiency: IT changes how processes run (for example web orders delivered the same day).
- Dependence: when IT is down, orders, payments and service stop, so managers must understand the risk.
- Link to alignment: IT decisions must fit the strategy.
The information system pyramid
Draw the four layers of an information system and explain why the top layer often decides whether a project succeeds.
Show a model answer outline
- Hardware, software, processes, people (bottom to top).
- People must accept and use the system: socio-technical view.
- Technology that works but is not used gives no return (productivity paradox).
ATM in pseudo code
Write pseudo code for the cash dispenser: three attempts for the PIN, then a menu with withdraw, change PIN, balance and return card, where the menu returns after options 1 to 3.
Show a model answer outline
- Counter Attempts ← 0; Repeat: Write prompt, Read code, Attempts ← Attempts + 1 Until code correct or Attempts = 3.
- If code not correct: swallow card, stop.
- Else Repeat: show menu, Read choice, Case choice 1, 2, 3: module Until choice = 4; return card.
- Name the building blocks used: sequence, selection (If, Case), iteration (Repeat).
While or Repeat?
Rewrite this While loop as a Repeat loop and explain when the two give a different result: z ← 0; x ← 1; While x < 6: z ← z + x; x ← x + 1.
Show a model answer outline
- Repeat: z ← z + x; x ← x + 1 Until x ≥ 6.
- Both give z = 15 here, because the start value 1 satisfies the condition.
- If x started at 6 or more, While would run 0 times (z = 0) but Repeat once (z = x).
- A For x from 1 to 5 is also suitable because the number of repetitions is known.
Binary and ASCII
Convert 01000010 and 01100001 to decimal and to ASCII characters, and explain the method.
Show a model answer outline
- Read from the right; positions worth 1, 2, 4, ..., 128.
- 01000010 = 64 + 2 = 66 = B.
- 01100001 = 64 + 32 + 1 = 97 = a.
- Capitals start at 65, small letters at 97.
Pass by value or by reference
Explain the difference with a small example of a function that changes its parameter, and say what the caller sees in each case.
Show a model answer outline
- By value: copy, change lost after the call.
- By reference: same location, change visible to the caller.
- Python: a list changed inside a function stays changed; a number reassigned inside does not change the caller.
Seconds to time
Write a program that reads a number of seconds and prints it as hours, minutes and seconds, for example 3725 becomes 1 h 2 min 5 s. Explain which operators you use.
Show a model answer outline
- Read with int(input(...)).
- hours = s // 3600; rest = s % 3600.
- minutes = rest // 60; seconds = rest % 60.
- Check: 3600 + 120 + 5 = 3725.
Name formatter
Write code that turns " ann DE smet " into "Ann De Smet" and also prints the initials "A.D.S.". Name the methods you use.
Show a model answer outline
- strip() removes outer spaces; title() capitalises each word.
- split() gives the words; take word[0] of each.
- Join the initials with "." and add a final dot, or loop and build the string.
Translate a For loop
Translate the pseudo code "For X from 3 to 15 Step 4: Write X" into a Python for loop and into a while loop. What does it print?
Show a model answer outline
- for x in range(3, 16, 4): print(x)
- x = 3; while x <= 15: print(x); x += 4
- Output 3, 7, 11, 15.
- Stop value plus one because range excludes it.
Menu loop
Explain how you make sure the ATM menu reappears after options 1, 2 and 3 but stops after 4, and which tests you would run.
Show a model answer outline
- Loop while choice != 4, read the choice inside the loop.
- elif chain for 1, 2, 3; nothing to do for 4 except leave.
- Initialise choice before the loop with a value other than 4.
- Tests: each option then 4; an unknown option; 4 at once.
Choose a data structure
For each case choose list, tuple, set or dictionary and explain: (a) the days of the working week, (b) the prices of products by product code, (c) the queue of orders to handle, (d) the distinct cities of the customers.
Show a model answer outline
- (a) tuple: fixed and ordered.
- (b) dictionary: look up by code.
- (c) list: ordered, changes (append, pop(0)).
- (d) set: unique values, order irrelevant.
Word counter
Write a function that receives a sentence and returns a dictionary with how often each word appears, ignoring capitals. Explain each step.
Show a model answer outline
- lower() then split() into words.
- Empty dictionary; for each word counts[w] = counts.get(w, 0) + 1.
- Return the dictionary.
- Example: "the cat and the dog" gives the: 2, cat: 1, and: 1, dog: 1.
Function with return
Rewrite the grade program as a function gradeConverter(mark) that returns the letter, and show how you call it and print the result for a mark read from the keyboard.
Show a model answer outline
- def gradeConverter(mark): if, elif chain, return the letter.
- mark = int(input(...)).
- print("The grade =", gradeConverter(mark)).
- Explain why return is better than print here (reuse, testing).
Total from a file
A file sales.txt holds one line per sale in the form product;amount. Write a program that prints the total amount. Name two pitfalls.
Show a model answer outline
- with open("sales.txt") as f, loop over lines.
- strip, split(";"), float(amount), add to total.
- Pitfalls: the \n at the end, and strings that must be converted before adding.
- Optional: skip empty lines.
Predict and explain
Predict the output of: lst = [1, 5, 3]; i = 1; result = 0; while lst: result += lst.pop() * i; i += 1; print(result). Show your tracing table.
Show a model answer outline
- pop takes from the end: 3, then 5, then 1.
- result = 3 x 1 = 3; then 3 + 5 x 2 = 13; then 13 + 1 x 3 = 16.
- The empty list is False: the loop stops.
- Output 16.
Find the errors
A student writes: def average(lst) / total = 0 / for x in lst: total += x / return total / len(lst), then calls print(average([])). Name the syntax problem and the runtime problem, and fix both.
Show a model answer outline
- Missing colon after def average(lst).
- With an empty list, len is 0: ZeroDivisionError.
- Fix: add the colon and return 0 (or None) when the list is empty.
Model a library process
A member asks for a book. If it is available, the librarian lends it; otherwise the member can reserve it and is notified when it comes back. Describe the BPMN diagram: events, tasks, gateways and lanes or pools.
Show a model answer outline
- Pools or lanes: member, library (librarian).
- Start event: request; task check availability.
- Exclusive gateway: available or not.
- Lend book, or reserve then intermediate (message) event when returned, then notify.
- End events for both paths or merge with an exclusive gateway.
Use case diagram for email
An account owner can send and read messages. Sending requires a body and recipients (To, Cc, Bcc); attachments are optional; an HTML message can embed an image. Describe actors, use cases and relationships.
Show a model answer outline
- Actor: account owner.
- Use cases: send message, read message.
- Send includes enter body and enter recipients.
- Add attachment extends send; embed image extends the HTML message (and needs an attachment).
Plan and cost a phase
Pre-production has: script 5d (one writer at 12.00/h), boards 3d after the script (two designers at 15.00/h each), auditions 2d after the boards (one person at 20.00/h, catering 250). Give the duration of the phase, its critical path and its total cost (8 h per day).
Show a model answer outline
- All tasks in sequence: 5 + 3 + 2 = 10 days, all critical.
- Script 40 h x 12 = 480.
- Boards 24 h x 15 x 2 = 720.
- Auditions 16 h x 20 = 320 + catering 250 = 570.
- Total 480 + 720 + 570 = 1770.
Links and resources
Explain the four link types with your own business example, and explain the difference between keeping work constant and keeping duration constant when a second person joins a task.
Show a model answer outline
- FS, SS, FF, SF with examples.
- Work constant: the task becomes shorter (effort shared).
- Duration constant: total work and cost increase.
Online store tables
An online store keeps customers and products; a product belongs to a category; a category can contain subcategories; a customer places orders with an amount per product. Give the tables with primary and foreign keys.
Show a model answer outline
- Customer(customerID, name, ...)
- Category(categoryID, name, parentCategoryID FK to Category, NULL for top level).
- Product(productID, name, price, categoryID FK).
- Order(orderID, customerID FK, date).
- OrderLine(orderID FK, productID FK, amount): composite key, many-to-many with association data.
Spreadsheet versus relational
Explain with the postal code example why a relational database is better than one big spreadsheet list, and what a primary key does there.
Show a model answer outline
- Two-dimensional list: empty cells and repetition (2000 always followed by Antwerp).
- Split into tables: PostalCode(code, city) and Customer(..., code FK).
- Primary key code: 2000 appears once, so the city is stored once.
- Less repetition, fewer inconsistencies, easier updates.
Three phases of computer architecture
Describe the three phases of computer architecture, the type of client in each, and one risk per phase.
Show a model answer outline
- Mainframe (1960s to 1980s): central capacity, dumb clients; very expensive, peak load.
- Client/server (from the 1980s): distributed data and logic, fat clients; consistency after updates.
- Browser/cloud (from the 1990s): servers and thin clients over the internet; dependence on network uptime, security.
IoT in a company
Explain the three waves of IT and give an example of the third wave for a company of your choice.
Show a model answer outline
- Wave 1: automating single activities (bookkeeping software).
- Wave 2: integration across the chain (online ordering with suppliers).
- Wave 3: IT inside the product (a connected washing machine that orders detergent and reports faults).
- Each wave raised productivity.
Why ERP projects fail
A company's ERP project is late and over budget. Using the lecture, explain five likely causes and for each one a measure that could have prevented it.
Show a model answer outline
- Unclear objectives: business case and clear scope first.
- No top management support: sponsor at board level.
- Poor project management: planning, critical path, follow-up.
- Users not trained: training and involvement, acceptance.
- Wrong data import: data cleaning and test migration.
ERP, SCM and CRM
Explain ERP, SCM and CRM with an example from one company, and how they depend on each other.
Show a model answer outline
- ERP: shared database for finance, inventory, sales.
- SCM: flow of goods from suppliers to customers, needs inventory data from ERP.
- CRM: customer history and retention, needs order data.
- Integrated through ERP modules or SOA services.
Lessons from Boo.com
Explain the Boo.com story in five steps and give three lessons for someone launching a web shop today.
Show a model answer outline
- Ambition: global launch in 18 countries, about 100 million pounds invested.
- Delays, forced launch on 3 November 1999.
- Unusable technology for most visitors, 0.25% conversion.
- High running costs, NASDAQ crash, liquidation May 2000.
- Lessons: launch step by step, test on real customer devices, watch cash flow and burn rate.
The e-commerce grid
Draw the grid of consumer, business and government as supplier and receiver, and give an example for six of the nine cells.
Show a model answer outline
- Rows supplier, columns receiver.
- C2C eBay; B2C web shop; B2B marketplace; G2C tax filing; C2G feedback; B2G public tenders; G2B business information; G2G exchange between administrations; C2B price comparison or reviews.
Cloud for a small company
A small accounting office considers moving its software and data to the cloud. Explain the NIST characteristics, choose a service model and discuss three advantages and three risks.
Show a model answer outline
- Characteristics: self-service, network access, pooling, elasticity, measured service.
- Model: SaaS for accounting software (or IaaS if they keep their own software).
- Advantages: no installation and upgrades, usage-based cost, access from anywhere.
- Risks: dependence on internet and provider, security handled by others, data ownership and legal aspects.
Security plan
Name five threats and five measures from the lecture, and link each measure to the threat it addresses.
Show a model answer outline
- Virus, worm: anti-virus and patches.
- Trojan, spyware: anti-virus, application controls, awareness.
- Evil twin, eavesdropping: VPN, HTTPS.
- Social engineering (phishing, dumpster diving): awareness training, shredding.
- Disk failure or fire: back-ups, RAID, duplicated data centre.
Data and competition
Explain why markets that depend on data tend towards a few dominant firms, using three concepts from the reader, and name one policy response.
Show a model answer outline
- Economies of scale: near zero marginal cost.
- Network effects, direct and indirect.
- Data as input reused across services (scope), high entry barriers.
- Policy: data sharing rules, GDPR, reuse of public sector data, competition law.
Bitcoin for a bank
Give three advantages and three disadvantages of Bitcoin and explain whether it meets the conditions to become a mainstream currency.
Show a model answer outline
- Pros: low cost, international, protection from some political risk.
- Cons: volatility, no recourse in fraud, limited acceptance.
- Conditions: stability, acceptance, trust; at the time of the reader none fully met.