1) What is object-oriented programming (OOP)? a) A) A programming paradigm based on classes and objects, aiming to model real-world entities using concepts such as inheritance, polymorphism, and encapsulation. b) B) A technique exclusively for designing graphical interfaces in desktop applications. c) C) A set of rules to write algorithms without variables or control structures. d) D) A low-level language used only for programming microcontrollers. 2) What is the difference between a compiler and an interpreter? a) A) A compiler translates the whole program into machine code before execution, while an interpreter translates and executes line by line. b) B) A compiler is only used for low-level languages, and an interpreter only for high-level languages. c) C) A compiler turns the program into graphical images, while an interpreter turns it into text. d) D) A compiler runs programs slower than an interpreter because it analyzes all the code multiple times. 3) Which of these data types are reference types? a) A) boolean b) B) integer c) C) String d) D) char 4) How many public classes can a single file have in Java? a) A) Up to two public classes per file. b) B) Only one public class per file. c) C) As many public classes as you want, no limit. d) D) None, public classes cannot be in files. 5) Which keyword is used to create a new instance of a class in Java? a) A) create b) B) instance c) C) object d) D) new
0%
Object-oriented programming
共享
共享
共享
由
Santytiradol
Tecnología
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?