++92 313 8389893
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Object is _________ of a class.
an instance
a declaration
a duplicate
the opposite
View Answer
2. How is an external parameter used with a function?
When return value are not required
None of these
When calling the functions
When the parameter is used in the function body
View Answer
3. Which of the following will be executed. If no matches occurs in switch statement?
Break
Continue
Case 0
Default
View Answer
4. _________ are a collection of different values of the same type in an unorder list.
Sets
Groups
Collections
Values
View Answer
5. The IDE used in swift is
Swiftc
All of them
Dreamweaver
XCODE
View Answer
6. Which of the following is incorrect data type in swift?
Double
UInt
Char
Optional
View Answer
7. Which of the following is the default access level of an object?
File Private
Private
Public
Internal
View Answer
8. Which of the following classes is used to encode a JSON string?
JSONEncoder
JSONDecoder
JSONString
None of these
View Answer
9. To Create Mutable Object __ Is Used?
Both A & B
var
None of them
let
View Answer
10. What is a closure Expression?
Code that ends a function
A function that occurs within another function
None of these
Self-contained block of codes
View Answer