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.
Start a quiz
Instant scoring
All Interview Q&A
50 plus topics
Beginner
1. What is Objective-J?
Objective-J is a programming language that adds Objective-C style syntax to JavaScript.
Beginner
2. Who developed Objective-J?
Objective-J was developed by 280 North (later acquired by Motorola).
Beginner
3. What framework uses Objective-J?
The Cappuccino framework uses Objective-J.
Beginner
4. Is Objective-J compiled or interpreted?
Objective-J is compiled into JavaScript before execution.
Beginner
5. What is Cappuccino?
Cappuccino is a web application framework inspired by Cocoa.
Beginner
6. What is a className in Objective-J?
A className defines a blueprint for objects using @implementation and @interface.
Beginner
7. What is @implementation?
It defines the actual implementation of a className.
Beginner
8. What is @interface?
It declares the structure and methods of a className.
Beginner
9. What is a method in Objective-J?
A function defined inside a className using Objective-C style syntax.
Beginner
10. What is message passing?
Objects communicate by sending messages using bracket syntax.
Beginner
11. What is inheritance?
A className can inherit properties and methods from a parent className.
Beginner
12. What is polymorphism?
Objects of different classNamees can respond to the same message differently.
Beginner
13. What is encapsulation?
Hiding internal implementation details inside a className.
Beginner
14. What is CPObject?
CPObject is the root className in Cappuccino framework.
Beginner
15. What is CPView?
CPView represents a visual component in Cappuccino.
Intermediate
16. How are properties defined?
Properties are defined inside @interface and synthesized in @implementation.
Intermediate
17. What is dynamic typing?
Variables can hold any type without strict declaration.
Intermediate
18. What is protocol in Objective-J?
A protocol defines a set of methods that a className must implement.
Intermediate
19. What is event handling?
Handling user interactions like clicks and keyboard events.
Intermediate
20. What is CPButton?
CPButton is a UI control for clickable buttons.
Intermediate
21. What is CPWindow?
CPWindow represents an application window.
Intermediate
22. What is delegation?
A design pattern where one object handles events for another.
Intermediate
23. What is MVC in Cappuccino?
Model-View-Controller architecture separates logic, UI, and data.
Intermediate
24. What is CPArray?
CPArray is an array className similar to NSArray.
Intermediate
25. What is CPDictionary?
CPDictionary stores key-value pairs.
Intermediate
26. What is memory management in Objective-J?
Managed automatically since it compiles to JavaScript.
Intermediate
27. What is category?
Adds methods to existing classNamees without modifying them.
Intermediate
28. What is exception handling?
Handling runtime errors using try-catch blocks.
Intermediate
29. What is asynchronous programming?
Executing code without blocking the main thread.
Intermediate
30. What is JSON handling?
Parsing and generating JSON data using JavaScript APIs.
Advanced
31. How does Objective-J differ from Objective-C?
Objective-J compiles to JavaScript, while Objective-C compiles to native machine code.
Advanced
32. What is runtime system?
The runtime manages className loading, messaging, and object behavior dynamically.
Advanced
33. What is reflection?
Ability to inspect and modify objects at runtime.
Advanced
34. What is method swizzling?
Changing method implementations at runtime.
Advanced
35. What is lazy loading?
Loading resources only when needed.
Advanced
36. What is dependency injection?
Providing dependencies from outside rather than creating them internally.
Advanced
37. What is performance optimization?
Improving speed by reducing DOM operations and optimizing logic.
Advanced
38. What is bundling in Cappuccino?
Packaging application resources and code into deployable format.
Advanced
39. What is state management?
Managing UI and application data efficiently.
Advanced
40. What are best practices?
Follow MVC, modular design, and proper event handling.
Coding Round
41. Create a simple className
@implementation Person : CPObject
- (void)sayHello
@end
Coding Round
42. Create object
var p = [[Person alloc] init];
Coding Round
43. Call method
[p sayHello];
Coding Round
44. Create button
var btn = [[CPButton alloc] initWithFrame:CGRectMake(0,0,100,30)];
Coding Round
45. Add button to view
[view addSubview:btn];
Coding Round
46. Create array
var arr = [CPArray arrayWithObjects:@"A",@"B",nil];
Coding Round
47. Loop through array
for(var i=0;i<[arr count];i++)
Coding Round
48. Create dictionary
var dict = [CPDictionary dictionaryWithObject:@"John" forKey:@"name"];
Coding Round
49. Handle button click
[btn setTarget:self];
[btn setAction:@selector(buttonClicked:)];
Coding Round
50. Log output
CPLog("Debug message");