+923132835245
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. Which of the following is the default access level of an object?
File Private
Public
Internal
Private
View Answer
2. _________ are a collection of different values of the same type in an unorder list.
Sets
Collections
Values
Groups
View Answer
3. Which keyword does in function start?
var function
function
func
function_name
View Answer
4. What is a closure Expression?
Code that ends a function
None of these
Self-contained block of codes
A function that occurs within another function
View Answer
5. The IDE used in swift is
All of them
XCODE
Dreamweaver
Swiftc
View Answer
6. Lazy properties are declared by using the _________ keyword before the property declaration.
None of these
Slow
weak
Lazy
View Answer
7. Which of the following classes is used to encode a JSON string?
JSONEncoder
JSONString
JSONDecoder
None of these
View Answer
8. Which of the following is incorrect data type in swift?
Double
Optional
UInt
Char
View Answer
9. Which of the following will be executed, if no matches occur in switch statement?
continue
switch
break
default
View Answer
10. Which of the following will be executed. If no matches occurs in switch statement?
Continue
Default
Break
Case 0
View Answer