Atom Fundas

10 Questions | Attempts: 170
Share

SettingsSettingsSettings
Atom Fundas - Quiz

To update ur knowledge on fundas. . . . . . .


Questions and Answers
  • 1. 

    Global variables that are declared static are

    • A.

      Deprecated by Standard C

    • B.

      Internal to the current translation unit

    • C.

      Allocated on the heap

    • D.

      Visible to all translation units

    Correct Answer
    C. Allocated on the heap
  • 2. 

    .  char txt [20] = "Hello world!\0";    How many bytes are allocated by the definition above?

    • A.

      20 bytes

    • B.

      12 bytes

    • C.

      10 bytes

    • D.

      21 bytes

    Correct Answer
    A. 20 bytes
  • 3. 

    The memory address of the first element of an array is called

    • A.

      Foundation address

    • B.

      Base address

    • C.

      Floor address

    • D.

      First address

    Correct Answer
    B. Base address
  • 4. 

    ..  Which of the following data structures are indexed structures?

    • A.

      Linked array

    • B.

      Linked List

    • C.

      Both a and b

    • D.

      None of the above

    Correct Answer
    C. Both a and b
  • 5. 

    A variable P is called pointer if

    • A.

      P points to the address of first element in DATA

    • B.

      P contains the address of an element in DATA

    • C.

      P can store only memory addresses

    • D.

      P contain the DATA and the address of DATA

    Correct Answer
    B. P contains the address of an element in DATA
  • 6. 

    Which of the following data structure store the homogeneous data elements?

    • A.

      Record

    • B.

      Arrays

    • C.

      Pointer

    • D.

      None

    Correct Answer
    A. Record
  • 7. 

    The difference between linear array and a record is

    • A.

      An array is suitable for homogeneous data but the data items in a record may have different data type

    • B.

      In a record, there may not be a natural ordering in opposed to linear array.

    • C.

      A record form a hierarchical structure but a lienear array does not

    • D.

      All the above

    Correct Answer
    D. All the above
  • 8. 

    The term "push" and "pop" is related to the

    • A.

      Array

    • B.

      Linked List

    • C.

      Stack

    • D.

      Queue

    Correct Answer
    C. Stack
  • 9. 

    Which of the following data structure is linear data structure?

    • A.

      Arrays

    • B.

      Stacks

    • C.

      Queue

    • D.

      Tree

    Correct Answer
    A. Arrays
  • 10. 

    Two dimensional arrays are also called

    • A.

      Tables arrays

    • B.

      Matrix arrays

    • C.

      Both of above

    • D.

      None of the above

    Correct Answer
    C. Both of above

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Dec 30, 2020
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 09, 2011
    Quiz Created by
    Vaithe_lingam90
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.