Visit The New, Modern Unix Linux Community


Wrong answer to quiz


 
Thread Tools
Contact Us Forum Support Area for Unregistered Users & Account Problems Wrong answer to quiz
# 1  
Wrong answer to quiz

Your quiz:
"Variable names cannot be the same as any reserved word as the language would not be able to distinguish between them" => True
This answer is clearly wrong, have a look at Fortran which has NO reserved keywords ! The correct answer is FALSE.
You should not quiz about topics where you have an insufficient overview....
Unregistered
# 2  
Choosing a language that has no Keywords or no reserved terms, means it does not apply to such case, you should find a language with Keywords => reserved words, that accept you giving the same name to a variable before arguing and saying the correct answer is false

Last edited by vbe; 03-03-2020 at 11:04 AM.. Reason: typos
# 3  
Quote:
You should not quiz about topics where you have an insufficient overview....
140,000 answers to quiz questions so far. One complaint. Let's do the math:

Code:
1/140,000. = 0.00000714 or 0.0007 percent of all who answered have complained so negatively like this.

I think it is probably fair to say that if you are in the 0.00000714 percentage of players, you have no right to complain so strongly.

Also, when people complain anonymously, strongly and impolitely, it shows poor character.

So, without any proof, I am keeping the answer "AS IS"...... as vbe suggests.

RESERVED words should NOT be used as variables. This is the way things are taught in computer science in every university.

Show us a credible computer science textbook that says otherwise and we will consider revising the question.

However, reply with a professional and courteous attitude, with facts and references to university level text books.

Thanks.
This User Gave Thanks to Neo For This Post:

Previous Thread | Next Thread
Thread Tools

Test Your Knowledge in Computers #545
Difficulty: Medium
Global constants are variables whose values can be changed once the variable is set.
True or False?

5 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Believe answer to one of your questions is wrong re definition of <MOVED TO ADMIN AREA>

Neo: I have copied this post to the admin forum so we do not start posting answers to questions in public forums, which will take the fun out of playing computer trivia. Iwill check the DB and get back to you, Mike Baran. In the future, the most important thing when anyone suspects an issue with... (4 Replies)
Discussion started by: Mike Baran
4 Replies

2. UNIX for Beginners Questions & Answers

Quiz help!

Hello, I'm new to Unix and need help answering these questions if possible, thanks. --------------------------------------------------------------------------------------- In a shell script, which command could be place at the end of a command line to combine stderr and stdout into the stdout... (1 Reply)
Discussion started by: julianpeters
1 Replies

3. Shell Programming and Scripting

Number comparison in ksh on mac with -lt is giving wrong answer

I am trying to run following script in ksh on darwin 11.4.2: freeSpace=2469606195 spaceNeeded=200 ] && echo "no space" || echo "space available" ] && echo "no space" || echo "space available" "-lt" is giving wrong answer as "no space" Whereas '<' works fine. When I change the freespace... (4 Replies)
Discussion started by: sabitha
4 Replies

4. Shell Programming and Scripting

Why result is wrong here ? whether break statement is wrong ?

Hi ! all I am just trying to check range in my datafile pls tell me why its resulting wrong admin@IEEE:~/Desktop$ cat test.txt 0 28.4 5 28.4 10 28.4 15 28.5 20 28.5 25 28.6 30 28.6 35 28.7 40 28.7 45 28.7 50 28.8 55 28.8 60 28.8 65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

5. Shell Programming and Scripting

AWK quiz

How come every post in this forum is a request for help? How about some fun? What does the following command do? nawk -F'+' ' {i=NF;for(;i;i--)if($i)w++} END{ for(k in w){c=w;x=xk",";if(c>m)m=c} for(;m;m--)if(m in x)print m,x } ' <(man nawk) (2 Replies)
Discussion started by: colemar
2 Replies

Featured Tech Videos