VBC Test #2
Replies: 1 comment
-
|
Hi manuelgalvez192, Thank you for bringing up these important points about the VBC tests. I understand the confusion regarding how certain unexpected inputs (like alphabetic characters or unclosed parentheses) are handled.
What I Did: Example: $> ./vbc 'abc' | cat -e This change ensures consistency with the subject’s requirements and helps students prepare more accurately for the exam. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm a student who has been using the tool to practice for the exam. First of all, thank you for creating such a practical and useful tool. I wanted to ask about the VBC tests. There are certain tests, such as sending "abc" as a parameter that expects a numeric result. In my opinion, an alphabetic character is an unexpected character; it shouldn't display 0. As I said, there are several such tests, such as unclosed parentheses, which in the test state that they expect the result of the operation, but according to the subject's own examples, they shouldn't.
$> ./vbc '1+2)' | cat -e
Unexpected token ')'$
If I'm wrong, it would be great if you let me know so I can prepare better. Thank you very much in advance.
Beta Was this translation helpful? Give feedback.
All reactions