By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,605 Members | 1,491 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,605 IT Pros & Developers. It's quick & easy.

In Foucs on C++ exam

P: n/a
Hi everybody.
First I would like to thank everybody who they reply me in my first
topic.

Secondly This is our exam that i had taken it, i got 14 of 20.

http://learn.ajman.ac.ae/file.php/9/...gIIFT20061.pdf
A three question i'd like to ask all members here.

Q1: If you take this exam like that, what do u think you will got ?
Q2: Do you agree to put (logical problems) in exams?
Q3: As C++ Programmer, Do you agree to study C++ in theory mothod ?
(without a computer)

And agian...
Thanks

Nov 12 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
use net,

ki******@gmail.com wrote:
Hi everybody.
First I would like to thank everybody who they reply me in my first
topic.

Secondly This is our exam that i had taken it, i got 14 of 20.

http://learn.ajman.ac.ae/file.php/9/...gIIFT20061.pdf
A three question i'd like to ask all members here.

Q1: If you take this exam like that, what do u think you will got ?
Q2: Do you agree to put (logical problems) in exams?
Q3: As C++ Programmer, Do you agree to study C++ in theory mothod ?
(without a computer)

And agian...
Thanks
Nov 12 '06 #2

P: n/a
Repost the link, I will try to help you answer the questions FASTER.
Trust me! :-D

ki******@gmail.com wrote:
>
http://learn.ajman.ac.ae/file.php/9/...gIIFT20061.pdf
Nov 12 '06 #3

P: n/a
Aff
Please give the link again..
By clicking on the link the page appears to give username and
password..
waiting for your response.

cppcoder wrote:
Repost the link, I will try to help you answer the questions FASTER.
Trust me! :-D

ki******@gmail.com wrote:

http://learn.ajman.ac.ae/file.php/9/...gIIFT20061.pdf
Nov 13 '06 #4

P: n/a
Question 1
Write a C++ function, LargestIndex, which takes as parameters an
integer array
and its size, and returns the index of the largest element in the
array.
Question 2
Write a C++ function, CopyString, which takes as parameters two
C-strings st1 and
st2. Using a loop, it should copy the content of st1 in st2.

Question 3
Write a C++ function, SmallestIndex, which takes as parameters an
integer array
and its size, and returns the index of the smallest element in the
array.

Question 4
Write a C++ function, CompareString, which takes as parameters two
C-strings st1
and st2. Using a loop, it should compare st1 and st2 and return true if
they are equal,
false otherwise.

Question 5
Write a C++ function that takes as parameters an integer array TAB and
its size. It
should return the smallest and the largest elements in TAB.

Question 6
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
display each character of st1 in a separate line.

Question 7
Write a C++ function that takes as parameters an array of characters
TAB and its size.
It should return the smallest and the largest characters in TAB.

Question 8
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
count the number of vowels in st1.

Question 9
Write a C++ function that takes as parameters an integer array TAB and
its size. It
should return the sum and average of all elements in TAB.

Question 10
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
count the number of spaces in st1.

Question 11
Write a C++ function that takes as parameters an integer array TAB, its
size and an
integer value. It should return the number of times value appears in
TAB.

Question 12
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
display each word of st1 in a separate line.

----------------End of Exam----------------------

soloution will be published soon.

Nov 13 '06 #5

P: n/a
Q3: As C++ Programmer, Do you agree to study C++ in theory mothod ?
(without a computer)
If what you call "theory method" means learning without actually writing
a program, compile it and run it, then no, I don't agree.

They only languages you can learn without a computer are human languages.

Regards,
Ben
Nov 13 '06 #6

P: n/a
ki******@gmail.com wrote:
Question 1
Write a C++ function, LargestIndex, which takes as parameters an
integer array
and its size, and returns the index of the largest element in the
array.
Question 2
Write a C++ function, CopyString, which takes as parameters two
C-strings st1 and
st2. Using a loop, it should copy the content of st1 in st2.

Question 3
Write a C++ function, SmallestIndex, which takes as parameters an
integer array
and its size, and returns the index of the smallest element in the
array.

Question 4
Write a C++ function, CompareString, which takes as parameters two
C-strings st1
and st2. Using a loop, it should compare st1 and st2 and return
true if they are equal,
false otherwise.

Question 5
Write a C++ function that takes as parameters an integer array TAB
and its size. It
should return the smallest and the largest elements in TAB.

Question 6
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
display each character of st1 in a separate line.

Question 7
Write a C++ function that takes as parameters an array of characters
TAB and its size.
It should return the smallest and the largest characters in TAB.

Question 8
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
count the number of vowels in st1.

Question 9
Write a C++ function that takes as parameters an integer array TAB
and its size. It
should return the sum and average of all elements in TAB.

Question 10
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
count the number of spaces in st1.

Question 11
Write a C++ function that takes as parameters an integer array TAB,
its size and an
integer value. It should return the number of times value appears in
TAB.

Question 12
Write a C++ function that takes as parameter a C-string st1. Using a
loop, it should
display each word of st1 in a separate line.

----------------End of Exam----------------------
Just wonder how this differs from the C exam?

I would have expected some "class", "template", and "using the standard
library".
Bo Persson
Nov 13 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.