Skip to content
Book 1: Theory Fundamentals

Book 1 · Chapter 7

Ethics and Ownership

§7.1Core · ≈ 8.8 m · →B1·7

This chapter is in the ebook.

Read it in full on cswithzak.com. Every question has its mark scheme and every program is ready to run. The free practice for each section is below, with the short code the book prints beside it.

Open in the ebook

For the whole chapter

§7.1 Ethics and ownership · Software licensing · Artificial intelligence

Short code B1·7·1

Ethics and the computing professional

Short code B1·7·10

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Professional bodies and their codes

Short code B1·7·11

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Acting ethically in a scenario

Short code B1·7·12

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Short code B1·7·13

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Who owns data?

Short code B1·7·14

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Four kinds of software licence

Short code B1·7·15

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Choosing and justifying a licence

Short code B1·7·16

DECLARE Log : STRING
DECLARE Seats : INTEGER
DECLARE Used : INTEGER
DECLARE N : INTEGER
Log ← "IIIIOI"
Seats ← 3
Used ← 0
FOR N ← 1 TO 6
   IF MID(Log, N, 1) = "I" THEN
      IF Used < Seats THEN
         Used ← Used + 1
         OUTPUT N, " granted ", Used
      ELSE
         OUTPUT N, " refused ", Used
      ENDIF
   ELSE
      Used ← Used - 1
      OUTPUT N, " released ", Used
   ENDIF
NEXT N
The concurrent-user licence check (three seats). Notice that request 4 is refused and request 6 is granted only because request 5 released a seat.

Output

1 granted 1
2 granted 2
3 granted 3
4 refused 3
5 released 2
6 granted 3
Run and checked before printing
DECLARE Log : STRING
DECLARE Seats : INTEGER
DECLARE Used : INTEGER
DECLARE N : INTEGER
Log ← "IIIIOI"
Seats ← 4
Used ← 0
FOR N ← 1 TO 6
   IF MID(Log, N, 1) = "I" THEN
      IF Used < Seats THEN
         Used ← Used + 1
         OUTPUT N, " granted ", Used
      ELSE
         OUTPUT N, " refused ", Used
      ENDIF
   ELSE
      Used ← Used - 1
      OUTPUT N, " released ", Used
   ENDIF
NEXT N
The same licence check with four seats: what a clinic gets when it buys a bigger licence.

Output

1 granted 1
2 granted 2
3 granted 3
4 granted 4
5 released 3
6 granted 4
Run and checked before printing

Artificial intelligence and its applications

Short code B1·7·17

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

The impact of AI: social, economic, environmental

Short code B1·7·18

Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.

Workbook 1: Ethics and Ownership

Short code W1·7 · Theory Fundamentals Workbook

The write-in workbook for this chapter has drills, exam-style practice, trace tables, fix-the-mistake and mark-it-yourself pages. Its full mark schemes and an interactive version arrive here with the chapter.

Ask Z about Ethics and Ownership
Buy ZAK's books — WhatsApp the books desk: Buy the booksPrint or ebook