JCP / SCJP考试题必须完整(即可编辑)吗?(Must a JCP/SCJP exam question be complete (i.e. compilable)?)

编程入门 行业动态 更新时间:2024-10-26 14:29:36
JCP / SCJP考试题必须完整(即可编辑)吗?(Must a JCP/SCJP exam question be complete (i.e. compilable)?)

刚刚阅读Kathy“Sierra / Bert Bates:JSCP Java6学习指南”,发现模拟考试问题存在矛盾:

在其中一个自测题中,正确的答案是“代码无法编译”,因为代码中没有import语句,也没有在问题本身中“给出正确的import语句”。 之后他们会明确地告诉你这些棘手的问题。

在稍后的问题中,代码只包含正确定义的main方法,我选择“代码不编译”,因为没有周围的类声明。 然而,这不是正确的答案,代码应该运行。

所以我的问题是:如果没有完全提供源代码,如何知道编译哪些问题?

关于考试的另一个问题是:问题是通过任何方式分组的(例如主题,难度等),还是完全随机出现?

Just reading Kathy "Sierra/Bert Bates: JSCP Java6 Study Guide" and found contradicting mock exam questions:

In one of the self-test questions, the correct answer was "Code does not compile" due to the fact that there were no import statements in the code nor was "given the correct import statements" in the question itself. They tell you explicitly afterwards to expect such tricky questions.

In a question later, where the code contained only a correctly defined main method, I picked "code does not compile" because there was no surrounding class declaration. However this wasn't the correct answer, the code was supposed to run.

So my question: how to know which questions are expected to compile if source code is not fully provided?

Another question about the exam: are the questions grouped by any means (e.g. topic, difficulty etc.) or do they come completely at random?

最满意答案

无论何时进行标准化测试,总会有解释失败的余地。

这似乎很难明确答案的期望是什么。

话虽这么说,我遇到了那些无法用纸袋编写代码的人,而且我认识数百名没有认证的摇滚明星程序员可以完成这些工作。

To answer my own question (after successfully passing the test):

Beginning the exam there is a textual description that fully defines how the exam is assessed/graded. For each question you will now exactly how many answers are required to be picked. You can't finish the exam not selecting the correct number of answers for each question. It is not indicated, but my questions were obviously grouped by topics.

Worth to read: http://www.coderanch.com/how-to/java/SCJP-FAQ

更多推荐

本文发布于:2023-07-17 07:47:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1141194.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:考试题   完整   编辑   SCJP   JCP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!