+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
Softwares
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 method is used to check if a value in a set?
excludes()
exists()
contains()
includes()
View Answer
2. Which keyword does in function start?
var function
function_name
func
function
View Answer
3. Which of the following classes is used to encode a JSON string?
None of these
JSONEncoder
JSONDecoder
JSONString
View Answer
4. What is a closure Expression?
A function that occurs within another function
None of these
Code that ends a function
Self-contained block of codes
View Answer
5. Which of the following is incorrect data type in swift?
Double
UInt
Optional
Char
View Answer
6. _________ are collection of key-value pairs, where all keys are of same type and all values are of same type.
Properties
Dictionaries
Arrays
Classes
View Answer
7. _________ are a collection of different values of the same type in an unorder list.
Sets
Groups
Values
Collections
View Answer
8. Lazy properties are declared by using the _________ keyword before the property declaration.
weak
Lazy
None of these
Slow
View Answer
9. The IDE used in swift is
Dreamweaver
XCODE
All of them
Swiftc
View Answer
10. First IOS was written In
1996
2010
2006
1986
View Answer