January 31, 2020

Part 2: Spring Data JPA Tutorial and Interview Questions

What is JPA?
JPA (Java Persistence API) is the specification of Java that is used to persist data between Java object and RDBMS(relational database).

JPA acts as a bridge between object-oriented domain models and relational database systems. As JPA is just a specification, it doesn't perform any operation by itself. It requires an implementation. Therefore, ORM tools like Hibernate implements JPA specifications for data persistence.

Ullu App launches maiden awards!

Ullu App recently threw a success bash, which was a well-attended affair by the luminaries of the entertainment industry. Vibhu Agarwal, CEO of Ullu App unveiled the trailer of their upcoming web series Peshawar, The Bull Of Dalal Street and Kasak. The event was graced by Ashmit Patel, Shishir Sharma, Ihana Dhillon, Deepika Singh, Ravi Bhatia, Rushad Rana, Amar Upadhyay, Rohit Roy, Rajeev Paul, Aman Verma, Sakshi Pradhan, Pratima Kannan, Sudhanshu Pandey, Ridheema Tiwari, Aadarsh Balakrishna, Vineet Raina and many more.

Part 1: Spring Data JPA Tutorial and Interview Questions

The DAO layer usually consists of a lot of boilerplate code that can be simplified. Spring Data makes it possible to remove the DAO implementations entirely.

JPA (Java Persistent API) is the sun specification for persisting objects in the enterprise application. It is currently used as the replacement for complex entity beans.

We are determined to cater to every individual: Ullu App's CEO Vibhu Agarwal

Ullu App became the talk of the town ever since its launch. The on-demand video streaming platform recently completed its first super successful year. To celebrate the occasion and unveil the trailer of their upcoming web series Peshawar, The Bull Of Dalal Street and Kasak, Ullu App's CEO Vibhu Agarwal had thrown a success bash. The event was graced by eminent  people from the industry few being Ashmit Patel, Amar Upadhyay, Aman Verma,  Deepika Singh, Ihana Dhillon, Pratima Kannan, Rohit Roy, Shishir Sharma, Sudhanshu Pandey, Ravi Bhatia, Pratima Kannan, Rajeev Paul, Aadarsh Balakrishnan, Sakshi Pradhan and many more.

January 28, 2020

#MongoDB Part 6: Interview Questions And Answers

How to create User and add Role in MongoDB?
Creating Admin User
We can create a user administrator in MongoDB by using the createUser method. e.g:

db.createUser(
{
   user: "myadmin",
   pwd: "password@123",
   roles:[{role: "userAdminAnyDatabase", db:"admin"}]
});

January 27, 2020

#MongoDB Part 5: Interview Questions And Answers

What is Mongo shell?
Mongo shell is a JavaScript interface to MongoDB that can be used to query and update data. It is interactive and can also be used to do administrative operations.

What is BSON?
BSON or binary JSON is the binary encoded format of JSON. It extends JSON and provides more data types and fields.

#MongoDB Part 4: Interview Questions And Answers

What is Namespace in MongoDB?
MongoDB stores BSON (Binary Interchange and Structure Object Notation) objects in the collection. The concatenation of the collection name and database name is called a namespace.

#MongoDB Part 3: Interview Questions And Answers

How to query a document in MongoDB using find()?
db.collection.find () is used for retrieval of documents from a MongoDB database. The find command is an in-built function which is used to retrieve the documents in the collection.

#MongoDB Part 2: Interview Questions And Answers

How to create Database and Collection in MongoDB?
In MongoDB, the database is used to store all of the collections, and the collection in turn is used to store all of the documents. The documents contain the relevant Field name and Field values.

#MongoDB Part 1: Interview Questions And Answers

What is MongoDB?
MongoDB is a document-oriented NoSQL database used for high volume data storage.
Instead of using tables and rows as in the traditional relational databases, MongoDB makes use of collections and documents. Documents consist of key-value pairs which are the basic unit of data in MongoDB. Collections contain sets of documents and function which is the equivalent of relational database tables.

Meditation keeps me calm: Himanshu Rai

Himanshu Rai, who is currently seen as Keshav Kulkarni in 'Mere Sai - Shraddha Aur Saburi' says meditation keeps him calm and composed.

January 20, 2020

Parag Tyagi to play ACP in Ullu App's 'Paper'..

Ullu App is coming up with a web-series titled 'Paper'. After roping in 'Sanjivini' actor Rohit Roy, the makers have finalized Parag Tyagi to play a prominent role in the series.

January 16, 2020

BARC TV Ratings- Week 1, 2020

Top 10 Hindi GEC Channel
  1. Dangal : 1288934
  2. STAR Plus : 735170
  3. Colors : 675526
  4. SONY SAB : 621468
  5. Zee TV : 583928
  6. Sony Entertainment Television : 500477
  7. Big Magic : 442912
  8. STAR Bharat : 291483
  9. STAR Utsav : 205505
  10. Colors Rishtey : 173371

January 14, 2020

Kate Sharma and Ganesh Yadav roped in for Ullu App's Paper

Ullu App is coming up with web-series titled 'Paper', Sanjivani actor Rohit Roy has been roped in to play the lead role. Now we heard, the makers have zeroed Kate Sharma and Ganesh Yadav.

January 13, 2020

Amazon Prime Music presents Inder Chahal and Asees Kaur's rendition of Teri Lod Nahi and Rabba

All good things come to end. The second season of T-Series MixTape Punjabi had a stupendous run and will conclude with the 11th and the final episode that releases today.

January 10, 2020

Dream accomplished by having a working birthday, says Pooja Singh

Actress Pooja Singh who is currently seen in ‘Shakti’ on Colors TV turned a year older yesterday on 8th January 2020 as she celebrated her birthday on the sets.

January 07, 2020

Missing Number


You have a list of n-1 integers, and these integers are in the range of 1 to n. One of the integers is missing in the list, write a function which will return that missing number. We can assume there are no duplicates in the list.

Example:
Input: arr[] = {1, 2, 4, 5, 3, 7, 8}
Output: 6

January 03, 2020

Rohit Roy to play scam kingpin in Ullu App's next..

Ullu App is coming up with yet another interesting web-series 'Paper'. We heard Rohit Roy, who is currently seen as Vardhan in Sanjivani has been finalized to play scam kingpin in the series.

January 01, 2020

#Java8 Transform object into another type

Sometimes we need to convert or cast or transform an object from one type to another class. There are many ways, by which we can do it.

Let's say we have two objects ExternalPeopleInfo and InternalPeopleInfo. Assume we get ExternalPeopleInfo by calling some external API, but to save the details in our system we need to convert it in to InternalPeopleInfo.

Part 2: Redis Interview Questions And Answers

Explain Redis Hashes data-type?
Redis Hashes are maps between string fields and string values, so they are the perfect data type to represent objects like user-details. Every hash can store up to 2³² — 1 field-value pairs (more than 4 billion).

Explain the Replication feature of Redis?
Redis supports simple master to slave replication. When a relationship is established, data from the master is transferred to the slave. Once this is done, all changes to the master replicate to the slave.

List out the operation keys of Redis?
Operation keys of Redis include: TYPE key, TTL key, KEYS pattern, EXPIRE key seconds, EXPIREAT key timestamp, EXISTS key, DEL key.

Part 1: Redis Interview Questions And Answers

What is in-memory Database?
The in-memory database is a database where it keeps the dataset in RAM. Means that for every interaction with database, you will only access the Main memory. No disk operations involved during this interaction. Hence the operation will be faster as it directly access main memory instead of any disk operation.

What is Redis?
Redis(REmote DIctionary Server) is an open source, in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries.

It has is also referred to as a data structure server as such the keys not only contains strings, but also hashes, sets, lists, and sorted sets. Companies using Redis includes Twitter, GitHub, Weibo, Pinterest, Snapchat, Craigslist, StackOverflow, Flickretc.

Cassandra Interview Questions And Answers

What is NoSQL Database?
  • A NoSQL database is sometimes called as Not Only SQL. It is a database that provides a mechanism to store and retrieve data other than the tabular relations used in relational databases. 
  • These type databases are schema-free, support easy replication, have simple API, eventually consistent, and can handle huge amounts of data.
  • Primary objective of a NoSQL database is to have: simplicity of design, horizontal scaling, and finer control over availability.
  • SQL was designed to be a query language for relational databases, and relational databases are usually table- based, much like what we see in a spreadsheet. In a relational database, records are stored in rows and then the columns represent fields in each row. SQL allows we to query within and between tables in that relational database.
  • On the other hand, NoSQL databases are more flexible, NoSQL databases allow we to define fields as we create a record.
  • Nested values are common in NoSQL databases. We can have hashes and arrays and objects, and then nest more objects and arrays and hashes within those.
  • Also fields are not standardized between records in NoSQL databases, we can have a different structure for every record in your NoSQL database.