InterviewPitch

Land the job you want — prepare
with Real interviews Q&A

Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.

Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is F#?
F# is a functional-first, strongly typed programming language that runs on the .NET platform.
Beginner
2. Is F# object-oriented?
Yes. F# supports functional, object-oriented, and imperative programming styles.
Beginner
3. What is immutability in F#?
By default, variables in F# are immutable, meaning their values cannot be changed after creation.
Beginner
4. What is let keyword?
The let keyword is used to define values and functions.
Beginner
5. How do you define a function in F#?
let add x y = x + y
Beginner
6. What is type inference?
F# automatically determines the type of a variable or function without explicit declaration.
Beginner
7. What are lists in F#?
Lists are immutable collections defined using square brackets: [1;2;3]
Beginner
8. What is a tuple?
A tuple groups multiple values into one structure: (1, "Hello")
Beginner
9. What is pattern matching?
Pattern matching allows checking a value against patterns using the match keyword.
Beginner
10. What is option type?
Option represents optional values: Some value or None.
Beginner
11. What is module in F#?
A module is used to organize related functions and types.
Beginner
12. What is record type?
A record is a lightweight immutable data structure with named fields.
Beginner
13. What is discriminated union?
A type that can hold different named cases with associated values.
Beginner
14. What is mutable keyword?
Allows modifying a variable after creation.
Beginner
15. What is .NET interoperability?
F# can use .NET libraries and interact with C# or VB.NET code.
Intermediate
16. What is higher-order function?
A function that takes another function as argument or returns a function.
Intermediate
17. What is currying?
Converting a function with multiple arguments into a sequence of functions each taking one argument.
Intermediate
18. What is lambda function?
Anonymous function defined using fun keyword.
Intermediate
19. What is List.map?
Applies a function to each element in a list.
Intermediate
20. What is List.filter?
Filters elements based on a condition.
Intermediate
21. What is List.fold?
Aggregates list values into a single result.
Intermediate
22. What is async workflow?
Enables asynchronous programming using async .
Intermediate
23. What is computation expression?
A syntax feature to build workflows like async or sequence.
Intermediate
24. What is pipeline operator?
Answer Here
Intermediate
25. What is tail recursion?
A recursion optimized by compiler to prevent stack overflow.
Intermediate
26. What is sequence in F#?
Lazy evaluated collection defined using seq .
Intermediate
27. What is Map collection?
Immutable key-value collection.
Intermediate
28. What is Set collection?
Immutable collection of unique elements.
Intermediate
29. What is exception handling?
Using try ... with block.
Intermediate
30. What is interface implementation?
F# classNamees can implement interfaces using interface keyword.
Intermediate
31. What is active pattern?
Allows custom pattern matching logic.
Intermediate
32. What is lazy evaluation?
Values computed only when needed.
Intermediate
33. What is generic type?
Type parameterized with type variables like 'T.
Intermediate
34. What is unit type?
Represents no meaningful value, similar to void.
Intermediate
35. What is reflection?
Inspecting metadata of types at runtime.
Advanced
36. What is monad in F#?
A design pattern for chaining operations like Option or Async.
Advanced
37. What is actor model?
Concurrency model where actors communicate via messages.
Advanced
38. What is mailbox processor?
Built-in actor-based concurrency primitive.
Advanced
39. What is partial application?
Supplying fewer arguments to create a new function.
Advanced
40. What is discriminated union advantage?
Enables safe modeling of domain states.
Coding Round
41. Add two numbers
let add x y = x + y
Coding Round
42. Factorial using recursion
let rec fact n = if n=0 then 1 else n * fact (n-1)
Coding Round
43. Fibonacci
let rec fib n = if n<=1 then n else fib(n-1)+fib(n-2)
Coding Round
44. Map over list
Answer here
Coding Round
45. Filter list
Answer here
Coding Round
46. Pattern matching example
Answer Here
Coding Round
47. Define record
Answer Here
Coding Round
48. Define discriminated union
type Shape = Circle of float | Rectangle of float * float
Coding Round
49. Async example
Answer Here
Coding Round
50. Pipeline example
Answer Here