Data Structures Interview Questions

Showing Questions 121 - 140 of 253 Questions
First | Prev | Next | Last Page
Sort by: 
 | 
Jump to Page:
  •  

    What are the different Abstract Data Type Groups?

    Skill/Topic: Memory, Abstract Data Types, and AddressesA) Integer, Floating-Type, Character & Boolean are the four different data type groupsExplanation: You determine the amount of memory to reserve by determining the appropriate abstract data type group to use and then deciding which abstract data type within the group is right for the data. The different abstract data type groups are Integer, Floating-Type,...

  •  

    The Data type of a declaration statement tells how much _____ to reserve and the kind of ______ that will be stored in that ______ location.

    Skill/Topic: Variables and PointersA) Memory, Data, MemoryExplanation: The Data type of a declaration statement tells how much memory to reserve and the kind of data that will be stored in that memory location

  •  

    A Pointer is a Variable.

    Skill/Topic: Variables and PointersA) FalseB) TrueExplanation: A pointer is a variable and can be used as an element of a structure and as an attribute of a class in some programming languages such as C++, but not Java. However, the contents of a pointer is a memory address of another location of memory, which is usually the memory address of another variable, element of a structure, or attribute of...

    warisha

    • Mar 18th, 2006

    Yeh, we can call pointer as a variable .it is used in some languages which supports its use.the datatype of pointer is of ptr,and not of datatype of the variable to which it is pointing.

  •  

    Char *ptGrade;Which is the data type in this declaration?

    Skill/Topic: Variables and PointersA) The data type in this is CharExplanation: The data type of the memory address stored in the pointer is of Character type

    s

    • Jun 18th, 2006

    The datatype is char * type that is the variable points to a location(stores the address of the location) which contains character type data

  •  

    The keyword ___________ means that the attribute or member method is accessible only by a member method.

    Skill/Topic: Stacks using an ArrayA) PrivateB) PublicC) Both a) and b)D) Neither a) nor b)Explanation: The keyword private means that the attribute or member method is accessible only by a member method. The instance of the class cannot directly access a private member of the class.