

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .
251. |
What would happen if different organization were given same set of requirements? |
A. | it will produce same architecture |
B. | it will produce different architecture |
C. | it may or may not produce same architecture |
D. | none of the mentioned view answer |
Answer» B. it will produce different architecture | |
Explanation: it produces different architecture. |
252. |
What factors does a software architecture results in? |
A. | technical |
B. | business |
C. | social |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: software architecture results into all the factors. |
253. |
What does Software architecture means? |
A. | it is the structure or structure of systems |
B. | it comprises of software components |
C. | relationship among components |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: software architecture is a structure or structure of systems, which comprise software components, external visible properties of those components and relationship among them. |
254. |
The architects are influenced by which of the following factors? |
A. | customers and end users |
B. | developing organization |
C. | background and experience of the architects |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: all of the mentioned. |
255. |
How do developing organizations influence by architects? |
A. | immediate business |
B. | long term business |
C. | organization structure |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: all of the factors are influenced by developing organizations. |
256. |
Which among the following are true with regards to the architecture business cycle? |
A. | the architecture can affect the enterprise goals of the developing organizations |
B. | the architecture affects the structure of developing organizations |
C. | all of the mentioned |
D. | none of the mentioned view answer |
Answer» B. the architecture affects the structure of developing organizations | |
Explanation: all of the mentioned are true with regards to the architecture business cycle. |
257. |
Architecture based process includes which of the following? |
A. | creating the business case for the system |
B. | understanding the requirements |
C. | analyzing or valuating the architecture |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: all of the mentioned are architecture based process. |
258. |
Which of the following does a business case consists of? |
A. | how much should a product cost? |
B. | what help does architecture description language provides? |
C. | what is domain analysis? |
D. | non of the mentioned view answer |
Answer» A. how much should a product cost? | |
Explanation: business case include- how much a product cost? what is target market? what is target time to market? |
259. |
What claim does Analyzing and evaluating architecture follow? |
A. | adl’s provide valuable analytical capabilities but tend to concentrate on run-time properties of system |
B. | maintainability is the main aspect |
C. | maintainability has many facets |
D. | all of the mentioned view answer |
Answer» D. all of the mentioned view answer | |
Explanation: architecture evaluation follows all the mentioned claim. |
260. |
Round robin scheduling falls under the category of |
A. | non-preemptive scheduling |
B. | preemptive scheduling |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» B. preemptive scheduling | |
Explanation: none. |
261. |
With round robin scheduling algorithm in a time shared system |
A. | using very large time slices converts it into first come first served scheduling algorithm |
B. | using very small time slices converts it into first come first served scheduling algorithm |
C. | using extremely small time slices increases performance |
D. | using very small time slices converts it into shortest job first algorithm |
Answer» A. using very large time slices converts it into first come first served scheduling algorithm | |
Explanation: all the processes will be able to get completed. |
262. |
The portion of the process scheduler in an operating system that dispatches processes is concerned with |
A. | assigning ready processes to cpu |
B. | assigning ready processes to waiting queue |
C. | assigning running processes to blocked queue |
D. | all of the mentioned |
Answer» A. assigning ready processes to cpu | |
Explanation: none. |
263. |
Complex scheduling algorithms |
A. | are very appropriate for very large computers |
B. | use minimal resources |
C. | use many resources |
D. | all of the mentioned |
Answer» A. are very appropriate for very large computers | |
Explanation: large computers are overloaded with a greater number of processes. |
264. |
What is FIFO algorithm? |
A. | first executes the job that came in last in the queue |
B. | first executes the job that came in first in the queue |
C. | first executes the job that needs minimal processor |
D. | first executes the job that has maximum processor needs |
Answer» B. first executes the job that came in first in the queue | |
Explanation: none. |
265. |
The strategy of making processes that are logically runnable to be temporarily suspended is called |
A. | non preemptive scheduling |
B. | preemptive scheduling |
C. | shortest job first |
D. | first come first served |
Answer» B. preemptive scheduling | |
Explanation: none. |
266. |
What is Scheduling? |
A. | allowing a job to use the processor |
B. | making proper use of processor |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» A. allowing a job to use the processor | |
Explanation: none. |
267. |
are scheduled with the Round-Robin time sharing method. Which out of the following quantum times is the best value for small response times, if the processes have a short runtime, e.g. less than 10ms? |
A. | tq = 15ms |
B. | tq = 40ms |
C. | tq = 45ms |
D. | tq = 50ms |
Answer» A. tq = 15ms | |
Explanation: none. |
268. |
Orders are processed in the sequence they arrive if rule sequences the jobs. |
A. | earliest due date |
B. | slack time remaining |
C. | first come, first served |
D. | critical ratio |
Answer» C. first come, first served | |
Explanation: none. |
269. |
Which of the following algorithms tends to minimize the process flow time? |
A. | first come first served |
B. | shortest job first |
C. | earliest deadline first |
D. | longest job first |
Answer» B. shortest job first | |
Explanation: none. |
270. |
Under multiprogramming, turnaround time for short jobs is usually and that for long jobs is slightly |
A. | lengthened; shortened |
B. | shortened; lengthened |
C. | shortened; shortened |
D. | shortened; unchanged |
Answer» B. shortened; lengthened | |
Explanation: none. |
271. |
ms of response time |
A. | i only |
B. | i and iii only |
C. | ii and iii only |
D. | i, ii and iii |
Answer» D. i, ii and iii | |
Explanation: i) shortest remaining time first scheduling is a preemptive version of shortest job scheduling. it may cause starvation as shorter processes may keep coming and a long cpu burst process never gets cpu. |
272. |
What is the other name for a postfix expression? |
A. | normal polish notation |
B. | reverse polish notation |
C. | warsaw notation |
D. | infix notation |
Answer» B. reverse polish notation | |
Explanation: reverse polish notation is the other name for a postfix expression whereas polish notation, warsaw notation are the other names for a prefix expression. |
273. |
Which of the following is an example for a postfix expression? |
A. | a*b(c+d) |
B. | abc*+de-+ |
C. | +ab |
D. | a+b-c |
Answer» B. abc*+de-+ | |
Explanation: abc*+de-+ is a postfix expression. +ab is a prefix expression and others are infix expressions. |
274. |
What is the time complexity of evaluation of postfix expression algorithm? |
A. | o (n) |
B. | o (n log n) |
C. | o (n2) |
D. | o (m log n) |
Answer» A. o (n) | |
Explanation: the time complexity of evaluation of infix, prefix and postfix expressions is o (n). |
275. |
Which of these operators have the highest order of precedence? |
A. | ‘(‘ and ‘)’ |
B. | ‘*’ and ‘/’ |
C. | ‘~’ and ‘^’ |
D. | ‘+’ and ‘-‘ |
Answer» C. ‘~’ and ‘^’ | |
Explanation: the highest order of precedence is ~ and ^ followed by ‘*’ ,’ /’, ‘+’ ,’-‘ and then braces ‘(‘ ‘)’. |
276. |
Which of the following is not an application of stack? |
A. | evaluation of postfix expression |
B. | conversion of infix to postfix expression |
C. | balancing symbols |
D. | line at ticket counter |
Answer» D. line at ticket counter | |
Explanation: line at ticket counter is an application of queue whereas conversion of |
277. |
While evaluating a postfix expression, when an operator is encountered, what is the correct operation to be performed? |
A. | push it directly on to the stack |
B. | pop 2 operands, evaluate them and push the result on to the stack |
C. | pop the entire stack |
D. | ignore the operator |
Answer» B. pop 2 operands, evaluate them and push the result on to the stack | |
Explanation: when an operator is encountered, the first two operands are popped from the stack, they are evaluated and the result is pushed into the stack. |
278. |
Which of the following statement is incorrect? |
A. | postfix operators use value to their right |
B. | postfix operators use value to their left |
C. | prefix operators use value to their right |
D. | in postfix expression, operands are followed by operators |
Answer» A. postfix operators use value to their right | |
Explanation: all prefix operators use values to their right and all postfix operators use values to their left. |
279. |
What is the result of the given postfix expression? abc*+ where a=1, b=2, c=3. |
A. | 4 |
B. | 5 |
C. | 6 |
D. | 7 |
Answer» D. 7 | |
Explanation: the infix expression is a+b*c. evaluating it, we get 1+2*3=7. |
280. |
ab*cd*+ where a=2,b=2,c=3,d=4. |
A. | 16 |
B. | 12 |
C. | 14 |
D. | 10 |
Answer» A. 16 | |
Explanation: the infix expression is a*b+c*d. evaluating it, we get, 2*2+3*4=16. |
281. |
At this point, ‘*’ is encountered. What has to be done? |
A. | 5*4=20 is pushed into the stack |
B. | * is pushed into the stack |
C. | 2*3=6 is pushed into the stack |
D. | * is ignored |
Answer» A. 5*4=20 is pushed into the stack | |
Explanation: when an operator is encountered, the first two operands of the stack are popped, evaluated and the result is pushed into the stack. |
282. |
Evaluate the postfix expression ab + cd/- where a=5, b=4, c=9, d=3. |
A. | 23 |
B. | 15 |
C. | 6 |
D. | 10 |
Answer» C. 6 | |
Explanation: the infix expression is (a+b)-c/d. evaluating it, (5+4)-9/3 gives 6. |
283. |
abc*+de*f+g*+ where a=1, b=2, c=3, d=4, e=5, f=6, g=2. |
A. | 61 |
B. | 59 |
C. | 60 |
D. | 55 |
Answer» B. 59 | |
Explanation: the infix expression is a+b*c+ (d*e+f)*g. evaluating it, 1+2*3+(4*5+6)*2 gives 59. |
284. |
For the given expression tree, write the correct postfix expression. |
A. | abc*+ |
B. | abc+* |
C. | ab+c* |
D. | a+bc* |
Answer» A. abc*+ | |
Explanation: evaluating the given expression tree gives the infix expression a+b*c. converting it to postfix, we get, abc*+. |
285. |
What makes a good architecture? |
A. | the architecture may not be the product of a single architect or a small group |
B. | the architect should have the technical requirements for the system and an articulated and prioritized list of qualitative properties |
C. | the architecture may not be well documented |
D. | all of the mentioned |
Answer» B. the architect should have the technical requirements for the system and an articulated and prioritized list of qualitative properties | |
Explanation: the architecture should be the product of a single architect or a small group, the architecture should be well documented. |
286. |
What does a typical top level architecture consists of? |
A. | prop loss model(mopd) |
B. | reverb model(modr) |
C. | control process |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: a typical top level architecture consists of all the mentioned components. |
287. |
Which among the following are valid questions raised for the top level architectural model? |
A. | what is the nature of components? |
B. | what is the significance of the links? |
C. | what is the significance of the layout? |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: all of the mentioned are the valid questions. |
288. |
Which of the following are correct statements? |
A. | an architecture may or may not defines components |
B. | an architecture is not dependable on requirements |
C. | an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used |
D. | all of the mentioned |
Answer» C. an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used | |
Explanation: an architecture defines components, an architecture is dependable on requirements. |
289. |
What does “Every software system has an architecture” implies? |
A. | system itself is a component |
B. | architecture an exist independently of its description or specification |
C. | all the system to be stable should posses an architecture |
D. | none of the mentioned |
Answer» C. all the system to be stable should posses an architecture | |
Explanation: all the system to be stable should posses an architecture, a system without architecture is unstable hence every software system has an architecture. |
290. |
What is architectural style? |
A. | architectural style is a description of component types |
B. | it is a pattern of run-time control |
C. | it is set of constraints on architecture |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: an architectural style is a description of component types and pattern of run-time control, it is set of constraints on architecture. |
291. |
What is a Reference Model? |
A. | it is a division of functionality together with data flow between the pieces |
B. | it is a description of component types |
C. | it is standard decomposition of a known problem into parts that cooperatively solve a problem |
D. | it is a division of functionality together with data flow between the pieces, it is standard decomposition of a known problem into parts that cooperatively solve a problem |
Answer» D. it is a division of functionality together with data flow between the pieces, it is standard decomposition of a known problem into parts that cooperatively solve a problem | |
Explanation: a reference model is division of functionality together with data flow between the pieces and standard decomposition of a known problem into parts that cooperatively solve a problem. |
292. |
What is Reference architecture? |
A. | it is a reference model mapped onto software components |
B. | it provided data flow with comments |
C. | it provides data flow with pieces |
D. | it is a reference model mapped onto software components & data flow with comments |
Answer» D. it is a reference model mapped onto software components & data flow with comments | |
Explanation: reference architecture is a reference model mapped onto software components and data flow with components. |
293. |
Which of the following is incorrect for Reference model, architectural styles and reference architecture? |
A. | they are not architectures |
B. | they are useful steps towards an architecture |
C. | they are set of early design decisions |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
Explanation: all of the mentioned are correct. |
294. |
Which of the following can be considered regarding client and server? |
A. | client and server is an architectural style |
B. | client and server may be considered as an architectural style |
C. | client and server is not an architectural style |
D. | none of the mentioned |
Answer» A. client and server is an architectural style | |
Explanation: client and server is an architectural style. |
295. |
Which of the statements truly concludes client and server relation with architectural styles? |
A. | they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients |
B. | multiple client cannot exist at an instance |
C. | architecture are countless for client and server but their architectural styles are different |
D. | all of the mentioned |
Answer» A. they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients | |
Explanation: multiple client can exist at an instance and architectural styles are countless for client and server but their architectures are different. |
296. |
Which of the following is incorrect? |
A. | a reference model divides the functionality |
B. | a reference architecture is the mapping of that functionality onto system decomposition |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
Explanation: all of the mentioned are correct. |
297. |
What truly describes the reference architecture decomposition? |
A. | a reference architecture is the mapping of that functionality onto system decomposition may be one to one |
B. | a reference architecture is the mapping of that functionality onto system decomposition is many to one |
C. | a reference architecture is the mapping of that functionality onto system decomposition is many to many |
D. | none of the mentioned |
Answer» A. a reference architecture is the mapping of that functionality onto system decomposition may be one to one | |
Explanation: a reference architecture is the mapping of that functionality onto system decomposition may be one to one. |
298. |
Which of the following is true? |
A. | architecture is low level design |
B. | architecture is mid level design |
C. | architecture is high level design |
D. | none of the mentioned |
Answer» C. architecture is high level design | |
Explanation: architecture is high level design. |
299. |
What is Architecture? |
A. | architecture is components |
B. | architecture is connectors |
C. | architecture is constraints |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: architecture is components,connectors and constraints. |
300. |
Mahout provides libraries for common and primitive Java collections. |
A. | java |
B. | javascript |
C. | perl |
D. | python |
Answer» A. java | |
Explanation: maths operations are focused on linear algebra and statistics. |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.