: Integer Battle (Medium) Standard Output 5 The product of the three numbers, 50000, can be...
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
: Integer Battle (Medium)
Standard Output
5
The product of the three numbers, 50000, can be divided by 5 exactly 5 times.
Example 2
Standard Input (oo_sample2.in)
5 10
100000 100000 100000 100000 100000
Standard Output
25
Please be mindful of overflow.
There are other input & output examples defined in this file: test/basic_testcases.json
You can use it as a reference while working on this exercise.
: Q5 /20
Which of the following databases are classified as NoSQL?
Show answer & explanation
Redis is an in-memory, key-value NoSQL database that does not use SQL as its query language. MySQL, SQLite, and PostgreSQL are all relational SQL databases that use structured query language and ACID compliance as core features.
Step-by-step Derivation:
Classification review: (A) MySQL - relational SQL database. (B) Redis - NoSQL key-value store, in-memory cache. (C) SQLite - relational SQL database (embedded). (D) PostgreSQL - relational SQL database. Only Redis fits the NoSQL category.