is it possible to create a Character array using a vertical vector of characters?
Show older comments
I have this question as part of a review sample quiz but i am confused about how to go with it. I think it is possible to create a character array using the char( ...) function. I also tested this to create a vertical vector and it is working. z=['A'; 'B'; 'C']. so I am really confused abou what this question is actually asking for. please give a thorough explanation of how to determine the wrong statement or statements among the choices. THANK YOU!
Character arrays can be constructed by either of the following EXCEPT:
A.) Using a special version of the char(…) cast function
B.) Using a vertical vector of characters
C.) Using a vertical vector of characters of the same length
D.) A and B
E.) A and C
4 Comments
dpb
on 19 Mar 2019
The Q? is basically nonsense...starting with what is a "special version" of CHAR()? If I have the facility to rewrite CHAR() I can make it do anything I wish.
If the rest of the quiz is anything like this, you'll be better off going somewhere else for your review material (unless, of course, you're stuck with this as the grad assistant, in which case it's time to transfer out).
plank008
on 19 Mar 2019
dpb
on 20 Mar 2019
I feel your pain...
Well, either of B or C is viable so since D and E each include one of those, then they're out leaving only A...
But it's still poorly posed at best including "either" which imples "or" and is a choice between two and there are five choices given...
Guillaume
on 20 Mar 2019
"the instructor doesn't care and is letting one of his TAs write exams and quizes for us to take."
Your institution should have a formal procedure for you to complain about the standard of the exams.
It should also have a standard procedure for creating exams. Where I work, this includes having the exam questions checked by an independent moderator to ensure that this sort of things don't happen. If that procedure has not been followed it's all the more reason for you to complain formally.
Accepted Answer
More Answers (1)
1 Comment
dpb
on 21 Mar 2019
That's good to know...thanks for reporting back.
Incompetence is rampant but there's no reason to have to pay what tuition is these days to be taught such...
Some of it can probably be attributed to the language issues, but there's too much else wrong to simply ignore.
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!