MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Efficiency includes both
A
execution time
B
memory usage
C
lossless data
D
lossy data
Explanation: 

Detailed explanation-1: -a the ability of the mind to store and recall past sensations, thoughts, knowledge, etc.

Detailed explanation-2: -Time efficiency-a measure of amount of time for an algorithm to execute. Space efficiency-a measure of the amount of memory needed for an algorithm to execute.

Detailed explanation-3: -An algorithm is considered efficient if its resource consumption, also known as computational cost, is at or below some acceptable level. Roughly speaking, ‘acceptable’ means: it will run in a reasonable amount of time or space on an available computer, typically as a function of the size of the input.

Detailed explanation-4: -Time and space complexity are the two main measures for calculating algorithm efficiency, determining how many resources are needed on a machine to process it. Where time measures how long it takes to process the algorithm, space measures how much memory is used.

There is 1 question to complete.