Colan Infotech
10+ Interview Questions and Answers
Q1. which is muteable in python? (list,tuple,string,int,float)
Lists are mutable in Python.
Lists can be modified after creation, allowing for addition, removal, and modification of elements.
Tuples, strings, integers, and floats are immutable in Python.
Example: list_example = [1, 2, 3]; list_example[1] = 5 # modifies the list element at index 1 to 5.
Q2. write a program to print ***** (n=5) and next line 4*, then 3*... I did all theoretical questions well, but didnt complete this program, and in 5 minutes, he took the laptop and asked be to go back.
Program to print decreasing number of asterisks in each line
Create a loop to iterate from n to 1
In each iteration, print the corresponding number of asterisks
Use a nested loop to print the asterisks in each line
Q3. types of spark clusters, uses of all types of clusters
There are three types of Spark clusters: standalone, YARN, and Mesos. Each type has different use cases.
Standalone cluster: Suitable for development and testing purposes.
YARN cluster: Ideal for running Spark on Hadoop clusters.
Mesos cluster: Used for running Spark on Mesos clusters or in cloud environments.
Standalone cluster can be set up on a single machine or a group of machines.
YARN cluster leverages Hadoop's resource management capabilities.
Mesos cluster provides fine-gra...read more
Q4. different types of optimization techniques
Optimization techniques are methods used to improve efficiency and performance of systems or processes.
Mathematical optimization: using mathematical models and algorithms to find the best solution
Heuristic optimization: using trial and error or rule-based methods to find good solutions
Metaheuristic optimization: using higher-level strategies to explore the search space efficiently
Constraint optimization: optimizing solutions subject to constraints
Parallel optimization: distri...read more
Q5. Diff between out and ref, Partial classes,
out and ref are used for passing arguments by reference, while partial classes allow splitting a class definition into multiple files.
out keyword is used for passing arguments by reference and does not require the variable to be initialized before passing.
ref keyword is used for passing arguments by reference and requires the variable to be initialized before passing.
Partial classes allow splitting a class definition into multiple files, making it easier to manage large class...read more
Q6. write down 10 properties in css
CSS properties control the visual presentation of elements on a webpage.
color: sets the color of text
font-size: determines the size of text
background-color: specifies the background color of an element
border: defines the border around an element
margin: sets the margin outside an element
padding: determines the padding inside an element
text-align: aligns text within an element
display: specifies how an element is displayed
width: sets the width of an element
height: determines the...read more
Q7. str="Hello world" print(str[4:8] )
The code will print 'o wo', which is the substring of 'Hello world' starting from index 4 up to index 7.
The slicing operation str[4:8] extracts characters from index 4 to index 7 (exclusive) from the string 'Hello world'.
The index 4 corresponds to the character 'o' and index 7 corresponds to the character 'd'.
Therefore, the output of print(str[4:8]) will be 'o wo'.
Q8. write down 10 tags in html
List of 10 common HTML tags used in web development
1.
: Defines a division or section in an HTML document2.
: Defines a paragraph
Q9. How to you handle web applicaton performance
Web application performance can be handled by optimizing code, caching, load balancing, and monitoring.
Optimize code by reducing database queries, using efficient algorithms, and minimizing HTTP requests.
Implement caching to reduce server load and improve response time.
Use load balancing to distribute traffic across multiple servers.
Monitor performance using tools like New Relic or Google Analytics to identify bottlenecks and optimize accordingly.
Q10. Interceptor in Angular, Observables
Interceptors in Angular are used to intercept HTTP requests and responses.
Interceptors can be used to modify requests before they are sent and responses before they are received.
They can be used for tasks like adding headers, logging, error handling, etc.
Example: Creating an interceptor to add a token to every outgoing request for authentication.
Q11. tell abt ur self
I am a dedicated and detail-oriented Manual Test Engineer with 5 years of experience in testing web and mobile applications.
5 years of experience in manual testing
Proficient in testing web and mobile applications
Detail-oriented and dedicated to ensuring quality
Strong problem-solving skills
Experience with test case creation and execution
Q12. Explain the web application flow
Web application flow involves client-server communication, request processing, and response generation.
Client sends a request to the server
Server processes the request and generates a response
Response is sent back to the client
Client renders the response in the browser
This flow continues until the user interacts with the application
Q13. explain interface and abstract class
Q14. explain oops concepts
Interview Process at null
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month