Topic :: Scala





Scala Interview Questions
Questions Answers Views Company eMail

Explain streams in scala?

1

How to create arrays in scala?

1

Explain exception handling in scala?

1

How scala is both functional and object-oriented programming language?

1

Explain the scope provided for variables in scala.

1

Mention the advantages of scala?

1

Why is an option used in scala?

1

How scala is different from java?

1

How do you define a function in scala?

1

What is map in scala?

1

Explain the access modifiers available in scala?

1

How is the scala code compiled?

1

Explain how scala is both functional and object-oriented programming language?

1

Explain the operators in scala?

1

Mention the types of variables in scala?

1




Related Topics


Un-Answered Questions { Scala }

What is scalable, portability in the view of J2EE?

1879


Scalability, Availability, Integration with internet, etc.)?

2437


Net app interview questions ============================ . Storage Fundamentals: - what is Raid? What are different kind of Raids? - Difference between all of Raids , Advantage of one raid over other - What are FCP & ISCSI, Difference between them. - FC Topologies, Iscsi commands - How to mount a Lun on Windows/Linux - NFS and CIFS - Difference between SAN, NAS and DAS - Different Backup methodologies, Snapshot, mirror, Disaster Recovery, High Availability, Cluster concepts 2. Network Fundamentals: - TCP/IP and ISO/OSI layers - What is DHCP, DNS, SNMP, Router, Hub, Switch, HTTPS , HTTP, telnet , ssh, rsh - Different SNMP versions (V1, V2, V3) - SNMP traps - Ipv4 and Ipv6 addressing 3. Database: - SQL queries, Joins (may ask you to write queries with complex joins) - Aggregate functions - Schemas, Tables, views (create, delete, alter, drop etc) 4. Testing - Bug tracking process, Types of Bugs - Difference between priority and Severity of Bug - Your best bug , what will you do when your bug is not fixed/rejected etc. - What is Functionality/Sanity/Stress/Upgrade & revert/Performance/negative/Release test/regression tests. How you have done these in your past projects. - Black box testing, grey box testing - May ask to write test cases on a given scenario - What is test plan and test summary/strategy document. Different sections in these documents. - SDLC, Test Lifecycle and approach to test a product (Given a product what different kind of testing you will do) 5. Perl ( in addition, you may be asked to write scripts on below areas) - Regular expressions - File/Directory Handling - Scalars, Arrays and Hashes - Packages and Modules - Use and require statements - Go through Net::Telnet, Net::SNMP, Net::SSH modules in perl

2605


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2155


Consider an enterprise wide system that you will be designing. The system’s purpose is file sharing, database‐dependent application delivery, OLTP and web application delivery. There will be 4 servers for each of these applications. If you were provided with a strict requirement for two‐tier architecture but had to accommodate over 5000 users what technologies and innovative methods would you use to facilitate the operation of such a system. (Note that twotier architecture has scalability issues in terms of number of users)

1812






What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?

1902


Define Stability, Scalability and reliability with example ?

2780


what is escalation?how it is done?

2106


What is live lock, deadlock and what is Lock escalation?

1960


What is the meaning of lock escalation and why/how to stop this?

2177


Within the interview process you may be required to perform a role-play. A popular example of this is being asked to role-play an escalated call with an unhappy customer.

1704


Name the scalar data type and complex data types in Pig?

423


Explain about the scalar datatypes in Apache Pig?

556


How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?

603


What Is The Difference Between Scalability And Elasticity?

119