题目
Systems Analysis and Design (082025-TVM)
单项选择题
Which of the following is NOT a proper naming convention? i. CourseCodeii. Crs_Codeiii. Course_Codeiv. Course Code
选项
A.a. i and iv
B.b. ii and iv
C.c. ii and iii
D.d. i and iii

查看解析
标准答案
Please login to view
思路分析
To determine which naming conventions are not proper, we need to evaluate each item against common programming naming rules.
Option a: i. CourseCode. This is a single word written in PascalCase or camelCase style depending on capitalization; many languages allow CourseCode as a valid identifier. It is commonly used in languages that favor no separators between words, so this can be considered proper in several conventions.
Option b: ii. Crs_Code. This uses an underscore between words but shows mixed capitalization (Crs_Code). In many naming schemes, snake_case would use ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
What is a best practice to follow when writing clean code?
What is the difference between Snake Case and Kebab Case?
In column naming, some programs do not allow spaces between words. What kind of case is created where spaces are removed and every new word has a capital letter?
For a function with a parameter that is a list of test scores, which of these parameter names would be the best choice?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!