Paper Tayyari

Lecture 34: Portability

MCQs, short and long questions from lecture 34.Lecture 34 ki MCQs, short aur long sawal.

5 MCQs · 2 short · 2 long questions · 5 MCQs from past papers5 MCQs · 2 short · 2 long sawal · 5 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/5
– correctsahi
1.
★ VU quiz

In order to write a portable code which of the following guideline will be helpful:

  1. AStick to the standards
  2. BProgram in the mainstream
  3. CSize of data types
  4. DAll of give options

Following standards, programming in the mainstream and minding data type sizes all aid portability.

2.
★ VU quiz

_______ cause major portability issues

  1. ALoops
  2. BBugs in code
  3. CSizes of data types
  4. DConditional Structures

Data type sizes differ between platforms and are a major source of portability problems.

3.
★ VU quiz

Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem .

  1. ALack of usability
  2. BLack of security
  3. CLack of performance
  4. DLack of portability

Bit field layout is implementation dependent, so bit fields are not portable.

4.
★ Final term Fall 2008

One of the causes of the portability issues is the order of ----------- varies from one implementation to other.

  1. AEvaluation
  2. Bnumbers
  3. Cvariables
  4. Dsymbols

The order of evaluation of operands differs between implementations.

5.
★ VU quiz

if a major rework is required to translate a program written for one environment to another, it means code is not or less _________

  1. ASecure
  2. BBug Free
  3. Cplateform dependent
  4. DPortable

Code needing major rework to move between environments is not portable.