Which of the following best describes an algorithm?, A programming language, A finite set of instructions, A type of hardware, A graphical interface, What is the Big-O notation for a linear search algorithm?, O(1), O(log n), O(n), O(n²), Which sorting algorithm has a worst-case time complexity of O(n²)?, Merge sort, Quick sort (worst case), Binary search, Heap sort, An algorithm that runs in exponential time is considered to run in:, Reasonable time, Polynomial time, Unreasonable time, Constant time, Which of the following is an example of a problem that runs in unreasonable time?, Sorting with merge sort, Finding shortest path, Traveling salesman problem, Binary search in array, What does it mean when we say a problem is 'undecidable'?, It takes too long, No algorithm exists, It requires too much memory, Solved on quantum computers, The Halting Problem is an example of:, Reasonable time problem, Unreasonable time problem, An undecidable problem, Solved by parallel computing, Which of the following best describes parallel computing?, One instruction at a time, Problem parts solved simultaneously, Multiple programming languages, Data in multiple locations, If a task takes 60 seconds sequentially and can be perfectly divided among 4 processors, how long would it take using parallel processing?, 60 seconds, 30 seconds, 15 seconds, 240 seconds, Which of the following tasks would benefit MOST from parallel processing?, Reading file line by line, Applying filter to pixels, Calculating Fibonacci numbers, Following a linked list, What is a key limitation of parallel computing?, Always makes programs faster, Some problems can't be parallelized, Requires special languages, Works with small data sets, Which of the following time complexities represents polynomial time?, O(2ⁿ), O(n!), O(n³), O(nⁿ), A heuristic approach to a problem:, Always finds optimal solution, Good solution in reasonable time, Makes problem undecidable, Converts exponential to polynomial, Binary search has a time complexity of O(log n). This means:, Runs in constant time, Runtime doubles with input, Runtime increases by 1 with input, Runs in exponential time, Which statement about decidable vs. undecidable problems is correct?, Decidable solved in reasonable time, Undecidable need faster computers, Decidable always correct answers, All real-world problems decidable, What is 'speedup' in parallel computing?, Ratio of sequential to parallel time, Number of processors used, Improvement in code quality, Reduction in memory usage, Which scenario demonstrates Amdahl's Law?, More processors doubles performance, 50% sequential code limits speedup, Parallel always faster, Memory increases with processors, An algorithm that checks every possible password combination is an example of:, Polynomial-time algorithm, Brute-force in unreasonable time, Undecidable problem, Efficient algorithm, Which of the following problems is decidable but may take unreasonable time?, The Halting Problem, Optimal traveling salesman, Prime or composite number, Reading input from user, What is the time complexity of accessing an element in an array by index?, O(1), O(log n), O(n), O(n²).
0%
Algorithm and Complexity Quiz
共享
共享
共享
由
Altafaali
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
AI增强版:本活动包含AI生成的内容。
了解更多信息。
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?