Explore topic-wise MCQs in Ashok Leyland.

This section includes 37 Mcqs, each offering curated multiple-choice questions to sharpen your Ashok Leyland knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the similarity between a structure, union and enumeration?

A. All of them let you define new values
B. All of them let you define new data types
C. All of them let you define new pointers
D. All of them let you define new structures
Answer» C. All of them let you define new pointers
2.

How will you free the allocated memory?  

A. remove(var-name);
B. free(var-name);
C. delete(var-name);
D. dalloc(var-name);
Answer» C. delete(var-name);
3.

In C, if you pass an array as an argument to a function, what actually gets passed?  

A. Value of elements in array
B. First element of the array
C. Base address of the array
D. Address of the last element of array
Answer» D. Address of the last element of array
4.

What does the following declaration mean? int (*ptr)[10];

A. ptr is array of pointers to 10 integers
B. ptr is a pointer to an array of 10 integers
C. ptr is an array of 10 integers
D. ptr is an pointer to array
Answer» C. ptr is an array of 10 integers
5.

What will be the output of the program?  #include<stdio.h> int main() {      int y=128;      const int x=y;      printf("%d\n", x);      return 0; }

A. 128
B. Garbage value
C. Error
D. 0
Answer» B. Garbage value
6.

In 2004, ________ purchased the S language from Lucent for $2 million.

A. Insightful
B. Amazon
C. IBM
D. All of the mentioned
Answer» B. Amazon
7.

If commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command :

A. source(“commands.R”)
B. exec(“commands.R”)
C. execute(“commands.R”)
D. All of the mentioned
Answer» B. exec(“commands.R”)
8.

Files containing R scripts ends with extension :

A. .S
B. .R
C. .Rp
D. All of the mentioned
Answer» C. .Rp
9.

Which of the following is an engine which is used to fill demand and supply gap of material?

A. Plant Maintenance
B. Storage
C. MRP run
D. WBS
Answer» D. WBS
10.

You want to extrapolate basic dates from lower to higher-level WBS elements.Which planning method do you choose?

A. Bottom-up
B. Strict bottom-up
C. Free planning
D. Top-down
Answer» B. Strict bottom-up
11.

How many levels of WBS elements can be created in Project Systems module?

A. 999
B. 256
C. 99
D. 255
Answer» E.
12.

Workforce Planning in Project Systems, allows you to assign certain HR resources to activities of a project. Which of the following cannot be assigned?

A. Persons
B. Organizational units
C. Jobs
D. Positions
Answer» D. Positions
13.

If you are planning a project in SAP PS using CJ40 Work Breakdown Structure, at which of the following locations can you find the values used in the planning?

A. RPSCO table
B. COSS & COSP tables
C. BPEJ table
D. None of the mentioned
Answer» C. BPEJ table
14.

With reference to material requirements in Project System (PS-MAT), which of the following statements are true?

A. 9999 components may be created per network
B. Project System supports consignment stock
C. Component scrap is considered during BOM explosion
D. None
Answer» B. Project System supports consignment stock
15.

Which Organization element are mandatory for Creation of the Project Definition in SAP PS ECC?

A. Controlling Area
B. Controlling Area and Company Code
C. Controlling Area and Plant
D. Controlling Area, Company Code and Proj Currency
Answer» B. Controlling Area and Company Code
16.

Can the user status forbid business transactions that the system status allows?

A. No, user status can only create a warning
B. Yes, by creating an appropriate status profile
C. Yes, if the status number of the user status is defined with higher priority
D. No, system status has a higher priority than user status
Answer» C. Yes, if the status number of the user status is defined with higher priority
17.

What are the pre-requisites for distributing work to HR Resources?

A. In Customizing for the Project System, you must have defined profiles for workforce planning in Resources
B. Assigned work centers to the internally processed activities
C. Assigned one or more labor capacity to a work center
D. Both A and B
Answer» E.
18.

Which of the following is used to differentiate transactions that comes from different line of business in a company?

A. Company Code
B. Business Area
C. Organization Element
D. None
Answer» C. Organization Element
19.

Which of the following sorting is not supported by MongoDB ?

A. collation
B. collection
C. heap
D. None of the mentioned
Answer» B. collection
20.

Which of the following language is MongoDB written in ?

A. Javascript
B. C
C. C++
D. All of the mentioned
Answer» E.
21.

Which of the following is a wide-column store ?

A. Cassandra
B. Riak
C. MongoDB
D. Redis
Answer» B. Riak
22.

Which of the following is a NoSQL Database Type ?

A. SQL
B. Document databases
C. JSON
D. All of the mentioned
Answer» C. JSON
23.

MongoDB has been adopted as ________ software by a number of major websites and services.

A. frontend
B. backend
C. proprietary
D. All of the mentioned
Answer» C. proprietary
24.

_____________ can be used for batch processing of data and aggregation operations.

A. Hive
B. MapReduce
C. Oozie
D. None of the mentioned
Answer» C. Oozie
25.

MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.

A. AMS
B. CMS
C. File system
D. None of the mentioned
Answer» B. CMS
26.

Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.

A. True
B. False
C. Both
D. None
Answer» B. False
27.

Since Angular 2 defines a set of built-in directives, the . . . . . . . . method passes them in a similar way in order to make them available in the entire application in order to prevent us from code duplications

A. startup
B. bootstrap
C. constructor
D. initialization
Answer» C. constructor
28.

Factory to use our Spring bean as the implementation

A. jaxws:end
B. jaxws:endpoint
C. All of the mentioned
D. None of the mentioned
Answer» C. All of the mentioned
29.

The standard for deploying web services on the Java EE platform as of Java EE 1.4

A. JAX-RPC
B. JAX
C. RPC
D. None of the mentioned
Answer» B. JAX
30.

A more complex approach for web service implementation, is referred to as

A. JavaScript Object Notation
B. Representation State Transfer
C. JavaScript Entity Notation
D. Big Web Services
Answer» E.
31.

XML digital signatures provides

A. Authentication
B. Authorization
C. Confidentiality
D. Integrity
Answer» D. Integrity
32.

Which of the following style(s) is/are Strictly WS-I compliant?

A. Document/encoded
B. RPC/literal
C. Document/literal
D. RPC/encoded
Answer» E.
33.

Web services can be discovered using ________

A. UDDII
B. UDDI
C. UDDDI
D. UDII
Answer» C. UDDDI
34.

Which of the following is correct about Service Description layer in Web Service Protocol Stack?

A. This layer is responsible for describing the public interface to a specific web service
B. Currently, service description is handled via the Web Service Description Language (WSDL)
C. Both of the above
D. None of the above
Answer» D. None of the above
35.

The basic Web Services platform is combination of _____ and _______

A. CSS + HTTP
B. XML + HTML
C. XML + HTTP
D. CSS + JAVA
Answer» D. CSS + JAVA
36.

In contrast, the contract-first approach encourages you to think of the service contract first in terms of

A. XML
B. XML Schema(.xsd)
C. WSDL
D. All of the mentioned
Answer» E.
37.

_______ is used to convert your application into Web-Application.

A. Struts Services
B. Web Services
C. Java Service
D. Browser Action
Answer» C. Java Service