Miscellaneous Company Exam Company Logical Reasoning Number Series

Q. Make spiral matrix like following N*N in spiral starting from center 1 in php and find sum of diagonal of matrix.

21 22 23 24 25
20 7 8 9 10
19 6 1 2 11
18 5 4 3 12
17 16 15 14 13

Read Solution (Total 1)

Miscellaneous Company Exam Other Question

Synonyms for
vociferously
1. Direct and indirect = "What is your name?" he asked me.
2. He made insulting remarks that are derogatory ________ his reputation.
Option
A) for
B) to
C) in
D) none of the above

3. Find out which part of the sentence below has an error and mark that option. If there is no error mark that as your answer.
If it was possible to get near where one of these eruptions took place, we could have had a grand sight.
Option
A) If it was possible
B) get near
C) eruptions took place

4.She has ________ in the bed for two hours.
Option
A) laid
B) lain
C) lay
D) None of the above
E) could have had a grand sight.

5.Hardly had I left the house than it began to rain.
Option
A) Hardly had
B) I left the house
C) than it began
D) to rain