TCS Placement: Sample Questions 376 - 377 of 502
Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.
Question 376
Explanation
There are three basic forms of multiplexing:
- Frequency Division Multiplexing (FDM) : In Frequency Division Multiplexing (FDM) multiple data signals are combined for simultaneous transmission via a shared communication medium.
- Time Division Multiplexing (TDM) : In Time division multiplexing (TDM) two or more streaming digital signals are transmitted over a common channel.
- Synchronous TDM
- Asynchronous TDM or Statistical TDM
- Wave Division Multiplexing (WDM) : In wavelength division multiplexing, (WDM) numerous data streams are modulated, i.e.. optical carrier signals of varying wavelengths (colors) of laser light, onto a single optical fiber.
Question 377
Question MCQ▾
Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
Choices
Choice (4) | |
---|---|
a. | Call by reference |
b. | Call by value |
c. | Call by pointer |
d. | Default arguments |
Answer
d.Explanation
- “Default arguments” allows compiler to insert arguments in a function call not specified by the caller.
- Value of default argument is provided in function declaration and automatically assigned by the compiler if caller of the function does not provide a value for the argument with default value.
- Following simple C ++ example demonstrates use of default arguments.