Neo4J MCQ Questions And Answers
Neo4J MCQs : This section focuses on "Basics" of Neo4J. These Multiple Choice Questions (MCQ) should be practiced to improve the Neo4J skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Neo4j is a ?
A. Centralised database
B. Distributed database
C. End-user database
D. graph database
View Answer
Ans : D
Explanation: Neo4j is a graph database management system
2. Neo4j Initial release date?
A. 2007
B. 2008
C. 2009
D. 2010
View Answer
Ans : A
Explanation: Initial release date: 2007
3. Programming language used in Neo4J?
A. C
B. C++
C. Java
D. Python
View Answer
Ans : C
Explanation: Programming language: Java
4. Founder of Neo4J?
A. Eliot Horowitz
B. Emil Eifrem
C. Dwight Merriman
D. Kevin P. Ryan
View Answer
Ans : B
Explanation: Emil Eifrem sketched what today is known as the property graph model on a flight to Mumbai in 2000. As the CEO and Co-Founder of Neo4j and a co-author of the O'Reilly book Graph Databases.
5. Tables are represent as?
A. Graphs
B. Nodes
C. Relationships
D. Traversal
View Answer
Ans : A
Explanation: Tables are represent as Graphs in Neo4J.
6. Joins are represent as?
A. Constraints
B. Nodes
C. Relationships
D. Traversal
View Answer
Ans : D
Explanation: Joins are represent as Traversal.
7. Which of the following are an Advantages of Neo4j?
A. Flexible data model
B. Real-time insights
C. High availability
D. All of the above
View Answer
Ans : D
Explanation: All of the above are an advantages of neo4j.
8. Neo4J Drivers supports how kinds of Java API?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : A
Explanation: It supports two kinds of Java API: Cypher API and Native Java API to develop Java applications.
9. Which of the following not true about Neo4j Property Graph Data Model?
A. Properties are key-value pairs
B. The model does not represents data in Nodes, Relationships and Properties
C. Relationships have directions: Unidirectional and Bidirectional
D. Relationships connects nodes
View Answer
Ans : B
Explanation: The model represents data in Nodes, Relationships and Properties
10. Each Relationship contains?
A. Start Node
B. End Node
C. From Node
D. All of the above
View Answer
Ans : D
Explanation: Each Relationship contains "Start Node" or "From Node" and "To Node" or "End Node".
11. CQL stands for?
A. Command Query Language
B. Clause Query Language
C. Cypher Query Language
D. Create Query Language
View Answer
Ans : C
Explanation: CQL stands for Cypher Query Language. Like Oracle Database has query language SQL, Neo4j has CQL as query language.
12. Which clause is used to search the data with a specified pattern?
A. OPTIONAL MATCH
B. MATCH
C. WHERE
D. FIND
View Answer
Ans : B
Explanation: MATCH : This clause is used to search the data with a specified pattern.
13. Which clause is used to find the starting points through the legacy indexes?
A. OPTIONAL MATCH
B. START
C. WHERE
D. FIND
View Answer
Ans : B
Explanation: Start : This clause is used to find the starting points through the legacy indexes.
14. Which clause is used to create nodes, relationships, and properties?
A. CREATE
B. PUT
C. SET
D. INSERT
View Answer
Ans : A
Explanation: Create : This clause is used to create nodes, relationships, and properties.
15. Which clause is used to delete nodes and relationships or paths etc. from the graph?
A. DELETE
B. DROP
C. REMOVE
D. DEL
View Answer
Ans : A
Explanation: DELETE : clause is used to delete nodes and relationships or paths etc. from the graph.
16. Neo4j supports Indexes by using Apache Lucence
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: Neo4j supports Indexes by using Apache Lucence
17. Neo4j supports full ACID (Atomicity, Consistency, Isolation, and Durability) rules.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: Neo4j supports full ACID (Atomicity, Consistency, Isolation, and Durability) rules.
18. Which of the following is true about Neo4J?
A. Neo4J uses Native graph storage with Native GPE
B. Neo4J supports exporting of query data to JSON and XLS format
C. Neo4J provides REST API to be accessed by any Programming Language like Java, Spring, Scala etc.
D. All of the above
View Answer
Ans : D
Explanation: All of the above statement are true about Neo4J.
19. Which of the following is not a Neo4J CQL command?
A. Create
B. Match
C. Delete
D. Exit
View Answer
Ans : D
Explanation: Exit is not a Neo4J CQL command.
20. Which clause is used to add new properties to an existing node or relationship?
A. GET
B. PUT
C. SET
D. None of the above
View Answer
Ans : C
Explanation: SET clause is used to add new properties to an existing node or relationship.
Discussion