Languages [3i Infotech Placement]: Sample Questions 123 - 125 of 546

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 123

Edit

Describe in Detail

Essay▾

What does it mean by embedded system?

Explanation

Embedded System
  • An embedded system is computer hardware with software embedded in it.
  • Can be an independent system or be a part of a large system.
  • Usually a microcontroller or microprocessor based system designed to perform a specific task.

Components of an embedded system

An embedded system has three components:

  • Hardware
  • Application software
  • Read time operating system supervises application software and allows processor to run process.

Characteristics of an embedded system

Characteristics of an Embedded System

Question 124

Languages
Edit

Statement

True-False▾

Subclasses methods can access superclass members/attributes at all times?

Answer

FALSE

Explanation

  • False
  • Subclasses methods cannot access superclass members/attributes at all times.
  • The superclass has private fields and protected methods to access them
  • The subclasses access the fields by using those methods.

Question 125

Languages

Question

MCQ▾

Which of the following statements correctly describes an interface?

Choices

Choice (4)

a.

it՚s a concrete class

b.

it՚s a superclass

c.

it՚s a type of abstract class

d.

Question does not provide sufficient data or is vague

Answer

c.

Explanation

  • A class declared with abstract keyword is known as abstract class.
  • Can have abstract and non-abstract methods.
  • Abstraction is a process of hiding the implementation details and showing only functionality to the user.
  • Abstraction focuses on what the object does instead of how it does it.

Developed by: