Professional Documents
Culture Documents
0 qp2
0 qp2
Assertion (A): The supervised learning algorithms tries to reduce the error between the desired output (target) and
the actual output for optimal performance
Reason (R): In supervised learning algorithms, the target values are known to the network.
The non-recurrent network having processing units in the layers and all the nodes are connected with the nodes of
the previous layers is___Feedforward network
Perceptron Networks
Let the initial weights be 0 and bias be 0. The threshold is set to zero and the learning rate is 1
1 1 1 1 1 1 1
1 -1 1 -1 0 2 0
-1 1 1 -1
-1 -1 1 -1
Step 1 Input training pair ,
y = 0 but t= 1, which means that these are not same, hence weight updation
takes place.
The new weights are 1, 1, and 1 after the first input vector is presented
Assertion (A) :Madaline is a multiple adaptive linear neuron consists ot parallel adalines.
Reason (R): Adaline acts as a hidden unit between input and the madaline layer.
Assuming the binary inputs and bipolar targets, Using the above algorithm, determine the new weights (W1,W2,b) for
the input vector [x1 x2 b] = [1 0 1] and target value ‘-1’.
Using the above algorithm,determine the new weights (W1,W2,b) for the input vector [x1 x2 b] = [-1 -1 1] and target
value of -1.
Using the above algorithm,determine the new weights (W1,W2,b) for the input vector [x1 x2 b] = [-1 1 1] and target
value of -1.
The activation function for a backpropagation net have several important characteristic. monotnically decreasing is
not a desirable characteristics of the activation function.
The non-recurrent network having processing units in the layers and all the nodes are connected with the nodes of
the previous layers is___ Feedforward network
Back propagation neural algorithm is explained in steps. Choose the correct sequence from the following,
A. Output unit computes its activation to form the response of the net for given input pattern.
B. Based on the error, delta factor is computed, which is used ot update the weights
C. The output unit compares the computed activation with the target value to determine the associated error.
D. The hidden unit computes its activation and sends its signal to each output unit.
E. During the feedforward, each input unit receives an input signal and broadcasts this signal to the hidden
units.
The following are important requirements that must be meet by an OS, to be considered as RTOS. select the
important requirement of the OS.
I. The operating system must be multithreaded and preemptive. e.g. handle multiple threads and be able to
preempt tasks if necessary.
II. The OS must support priority of tasks and threads.
III. The OS must not support various types of thread/task synchronization mechanisms
IV. The time for every system function call to execute should not be predictable and independent of the number
of objects in the system
V. Non preemptable portions of kernel functions necessary for inter-process synchronization and communica-
tion are highly optimized, short and deterministic.
VI. Non-preemptable portions of the interrupt handler routines should not be kept small and deterministic.
vii. The maximum time during which interrupts are masked by the OS and by device drivers must be known
The operating systems are given below, the OS system that can allow the user to be able connect ot another
machine and perform many operation is Network systems
Multiprogrammed batch systems Place more than one job/program/task in the main memory of a batch prepared for
same type of jobs, and execute them by switching between them.
A Real-Time OS (RTOS) is an OS with special features that make it suitable for building real-time computing
applications
Assertion (A): The Concurrent processes independent of each other are known as independent processes.
Reason (R): The Concurrent processes may also interact with each other, may share a data, send a message to
each other, or send signals to coordinate their activities are known as cooperation process.
Assertion (A): The kernel is the innermost layer close to the hardware to get
things done.
Reason (R): The essential modules of the operating system such as task management,
memory management, etc. are only loaded into the memory of kernel
Using the states of the processes, the situation of every process at a given time is identified and every process is
managed such that it gets a uniform execution.
Whenever a task is switched its execution context, represented by the contents of the program counter, stack and
registers, is saved by the operating system into a special data structure.
The state transitions occur due to various events, If the device requested cannot be granted immediately, the
process needs to wait in the device queue of the device requested, the state of this process will be changed from
Running to block
The long-term scheduling, has schedulers sending these jobs from the job queue to the a) Ready-suspend
queue
The OS needs attributes associated with the processes to implement and control, these attributes are stored in the
data structure known as Process descripter
Assertion (A) : The Concurrent processes independent of each other are known as independent processes.
Reason (R): The Concurrent processes may also interact with each other, may share a data, send a message to
each other, or send signals to coordinate their activities are known as cooperation process.
Reason (R): A higher-priority process must always pre-empt the lower one.
Assertion (A) : Independent processes are easy to implement than the interacting
processes.
Reason (R): Interacting processes may access shared data, produce deadlock
while competing for resources and may starve for resources in some
conditions.
Data access synchronization is used to synchronize the concurrent processes so that they do not update a shared
variable at the same time.
In the multi-tasking systems, a user expects that he/she should be able to open many windows and every window
should respond within a minimum period of time
The dispatch event sends a process to the CPU for execution after selection, the process is selected for dispatching
depends on a scheduling algorithm, the state of the process changes from Ready to running
In Indirect addressing the processes need not name each other and send the message directly to a shared area that
stores them, this shared area for storing the messages is known as a mailbox.
A process does not get access to the resource, it loops continually waiting for it and wastes CPU cycles, this type of
semaphore is Spinlock.
The _ Semaphore __is a process-synchronization tool that protects any resource such as global shared memory that
needs to be accessed and updated by many processes.
2 Multi-tasking When multiple nodes When a user wants to open and work
systems of a wide network simultaneously on many windows on
realized as a powerful the system
machine sharing the
resources on the network
3 Distributed Used to handle timebound Background jobs in which the user
systems responses to the interaction is not necessary
applications
4 Real-time More than one job When computational speed and
systems can be stored in main resource sharing is required and
memory implemented
through various full computer
systems in a network
5
The Inter system protocol protocol is used to establish communication between two different devices.
In the Synchronous communication data is transmission and receiving is a continuous stream at a constant rate and
requires the clock of transmitting device and receiving device synchronized.
The data cable signal lines are labeled as Rx and TX in __ USART Protocol_protocol, and is used to transmitting and
receiving the data byte by byte along with the clock pulses.
Assertion (A): The Intra system protocol is used to communicate the two devices within the circuit board.
Reason (R): The circuit complexity and power consumption will be increased by using intra-system protocol.
Assertion (A): In Subscriber-oriented method the data is exchanged on the basis of node addresses.
Reason (R): The message sent by the transmitter contains the data to be transmitted and also the destination node
address.
The Bit stuffing __is an encoding method that enables resynchronization periodically to prevent loss of bit time.
The header of FlexRay frame has 5 bytes, including the______ of the frame and the ___________of the data
payload. Identifier, Length
Synchronous communication __data is transmission and receiving is a continuous stream at a constant rateand
requires the clock of transmitting device and receiving device synchronized.
I2C
Assertion (A): The Intra system protocol is used to communicate the two devices within the circuit board.
Reason (R): The circuit complexity and power consumption will be increased by using intrasystem protocol
Asynchronous communication the transmission of data requires no clock signal and data transfer occurs
intermittently rather than steady stream
The_USB Protocol__ protocol used to communicate with the system peripherals and used to send and receive the
data serially to the host and peripheral devices.
The data cable signal lines are labeled as Rx and TX in __ USART Protocol protocal, and is used to transmitting and
receiving the data byte by byte along with the clock pulses.
Reason (R): Event-triggered means that messages are transmitted to signal the occurrence of significant events.
CAN
1
High-speed CAN CAN-C buses are used for networking the following systems
Engine-management system (Motronic for gasoline engines or EDC for diesel, engines)
▶ Electronic transmission control
▶ Vehicle stabilization systems (e.g. ESP)
▶ Instrument cluster
Low-speed CAN (CAN-B)
▶ Control of the air-conditioning system
▶ Seat adjustment
▶ Power-window unit
▶ Sliding-sunroof control
▶ Mirror adjuster
▶ Lighting system
A CAN frame is labeled by an identifier, transmitted within the frame, whose numerical value determines the Frame
priority
Bit stuffing is an encoding method that enables resynchronization periodically to prevent loss of bit time.
FlexRay
Assertion (A): In the Time triggerd communicationThe frames are transmitted at predetermined points in time .
Reason (R): Each frame is scheduled for transmission at one predefined interval of time
The _FlexRay___is a unique time-triggered protocol that provides options for deterministic data that arrives in a
predictable time frame.
The ___ a) Static Segment___ segment reserved slots for deterministic data that arrives at a fixed period.
In LIN frame the header is always sent by the LIN Master, while the response is sent by either one dedicated LIN-
Slave or the LIN master itself
AUTOSAR
Assertion (A): Synchronous service is a blocking service call wherein the program polls for the completion of the
service .
Reason (R): The execution returns only when the service is incomplete.
The___AUTOSAR interfaces are used to define ports through the software component and the basic software
exchange data.
The Basic Software can be divided in terms of stacks based on the basic services provided, choose the wrong stack
c) memory stack with Communication drivers
The ___ b) Link time_____configuration is used when the configuration files are available as object code
and configuration isselected after compilation and before linking
AUTOSAR gives a layered top-down structure for software with relation between the software components.