Skip to main content

Featured post

Python For Loop increment Tricky Example

In this post, I have explained tricky for loop example in Python. The usage of FOR LOOP is to create loops. How many times the loop will execute you may supply in the input.

My Project is to get each character from the input String. I use for loop to achieve this.
Tricky FOR LOOP Examples Explained different for loop examples.
1. Python For Loop Syntax using Variable or Array >> for valuein variable
Python For Loop Example >> myName = 'srinimf'

>> for valuein myName
...        print(value)

The result is as follows:
2. Python For Loop With '1' to '10' or 'n'for(i=1;i<=10;i++)<loopbody> The above for loop useful to create definite loop. The maximum loops are '10'. You can write your logic for each value in Python.

This is one of the tricky and most popular example.
3. How does a Python For Loop works a Flowchart

The 'letter' contains ValuestateName is an Array or VariableAfter For Loop you can use BODY s…

Useful 10 tricky Apache Storm interview questions To Read Now

The storm is a real-time computation system. It is a flagship software from Apache foundation. Has the capability to process in-stream data. You can integrate traditional databases easily in the Storm. The tricky and highly useful interview questions given in this post for your quick reference.
Bench mark for Storm is a million tuples processed per second per node.
Interview Questions

Tricky Interview Questions

1) Real uses of Storm?

A) You can use in real-time analytics, online machine learning, continuous computation, distributed RPC, ETL

2) What are different available layers on Storm?
  • Flux
  • SQL
  • Streams API
  • Trident 
3)  The real use of SQL API on top of Storm?

A) You can run SQL queries on stream data

4) Most popular integrations to Storm?
  1. HDFS
  2. Cassandra
  3. JDBC
  4. HIVE
  5. HBase
5) What are different possible Containers integration with Storm?
  1. YARN
  3. MESOS
6) What is Local Mode?

A) Running topologies in the Local server we can say as Local Mode.

7) Where all the Events Stored in Storm?
A) Event Logger mechanism saves all events

8) What are Serializable data types in Storm?
A) Storm can serialize primitive types, strings, byte arrays, ArrayList, HashMap, and HashSet

9) What are Hooks in Storm?
A) You can place the custom code in Storm and you can run events many times

10) What is the Joining of Streams?
A) Streams from different sources you can Join on a particular join condition


Apache Spark Vs Apache Storm Vs Tableau

  • The storm is super past in stream processing engine for Big data analytics
  • Tableau is Data warehousing presentation tool
  • Spark is Cluster Maintenance and Fault Tolerance
Compares on Tools



Most Viewed

Hyperledger Fabric Real Interview Questions Read Today

I am practicing Hyperledger. This is one of the top listed blockchains. This architecture follows R3 Corda specifications. Sharing the interview questions with you that I have prepared for my interview.

Though Ethereum leads in the real-time applications. The latest Hyperledger version is now ready for production applications. It has now become stable for production applications.
The Hyperledger now backed by IBM. But, it is still an open source. These interview questions help you to read quickly. The below set of interview questions help you like a tutorial on Hyperledger fabric. Hyperledger Fabric Interview Questions1). What are Nodes?
In Hyperledger the communication entities are called Nodes.

2). What are the three different types of Nodes?
- Client Node
- Peer Node
- Order Node
The Client node initiates transactions. The peer node commits the transaction. The order node guarantees the delivery.

3). What is Channel?
A channel in Hyperledger is the subnet of the main blockchain. You c…