Back to marketplace

extras

No description yet. This curated deck is ready for daily study.

Total cards: 20•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (20)

#1
Front (Question)

What is the purpose of a D type flip flop?

Back (Answer)

Stores the value of one bit when a clock signal is given.

#2
Front (Question)

How does it work?

Back (Answer)

There is a clock input and data input. Every time the clock input is high, the output is set to the data input.

#3
Front (Question)

Where are d type flip flops used?

Back (Answer)

Synchronised data transfer within circuits by making sure the output only changes at times determined by the clock signal.

#4
Front (Question)

What is the purpose of an adder circuit?

Back (Answer)

Add two binary numbers together.

#5
Front (Question)

What is the difference between a half and full adder?

Back (Answer)

A half adder takes in 2 bits and returns the sum and carry. A full adder takes in 3 bits (2 and a carry) and returns a sum and carry.

#6
Front (Question)

What happens when data is sent on data bus to read or write?

Back (Answer)

control bus sends read/write signal before data is transmitted

#7
Front (Question)

How do you write an attribute in oop pseudocode?

Back (Answer)

private attributename

#8
Front (Question)

How do you write a constructor method in oop pseudocode?

Back (Answer)

public procedure new(parameters) example endprocedure

#9
Front (Question)

How do you write any other method in oop pseudocode?

Back (Answer)

public procedure functionname()…

#10
Front (Question)

What if the method returns a value?

Back (Answer)

public function name()…

#11
Front (Question)

How do you create a new object?

Back (Answer)

objectname = new classname(arguments)

#12
Front (Question)

How do you create a child class?

Back (Answer)

class childname inherits parentname

#13
Front (Question)

How do you call a parent class method in a child class?

Back (Answer)

super.methodname() or super.new()

#14
Front (Question)

What does string[:n] do?

Back (Answer)

gives all the characters before n not including n’s position

#15
Front (Question)

What does string[n:] do?

Back (Answer)

gives all the characters after and including n’s position

#16
Front (Question)

How do you read a file in python?

Back (Answer)

f = open(“name.txt”,”r”) print(f.read())

#17
Front (Question)

How do you read a line of a file in python?

Back (Answer)

f = open(“name.txt”,”r”) print(f.readline())

#18
Front (Question)

How do you close a file in python?

Back (Answer)

f.close()

#19
Front (Question)

How do you write to a file in python?

Back (Answer)

f = open(“name.txt”,”a”) f.write(“newtext”)

#20
Front (Question)

How do you comment in python.

Back (Answer)

#