Top answers


Convert 10101100 to decimal.

4+8+32+128=172
PW
Answered by Piotr W. Computing tutor
2660 Views

Describe the difference between a CPU and a GPU with relation to processing power and ability to perform tasks.

A CPU (Central Processing Unit) is comprised of a few large processing cores, each of which is capable of performing complicated tasks on its own. This added complexity also enables CPUs to be efficent seque...
ZS
Answered by Zack S. Computing tutor
1956 Views

Write pseudocode for the linear search algorithm, and then explain it’s complexity using big-O notation

Pseudocode: FUNCTION linearSearch(list, searchTerm): FOR index FROM 0 -> length(list): IF list[index] == searchTerm THEN RETURN index ENDIF ENDLOOP RETURN -1 ENDFUNCTION Complexity: Recognize that the sin...
JN
Answered by Jacob N. Computing tutor
28293 Views

Describe what you understand by abstraction, and how it is relevant to software engineering.

Two parts: Abstraction: Separating ideas from reality / implementationHiding (irrelevant) details from the userA representation / simplification of a concept Application: Object oriented programming is full ...
JN
Answered by Jacob N. Computing tutor
2910 Views

What is an interface and why are they useful?

An interface in the Object Oriented Programming (OOP) sense is very similar to a class definition - it is the definition of the various functions and procedures provided by the class (in this case interface)...
KC
Answered by Kajetan C. Computing tutor
9192 Views