+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 classes is used to encode a JSON string?
JSONEncoder
None of these
JSONString
JSONDecoder
View Answer
2. Which method is used to check if a value in a set?
excludes()
contains()
exists()
includes()
View Answer
3. First IOS was written In
1996
1986
2010
2006
View Answer
4. What is a closure Expression?
A function that occurs within another function
None of these
Self-contained block of codes
Code that ends a function
View Answer
5. Which of the following is the default access level of an object?
Private
Public
File Private
Internal
View Answer
6. The IDE used in swift is
XCODE
All of them
Swiftc
Dreamweaver
View Answer
7. _________ are collection of key-value pairs, where all keys are of same type and all values are of same type.
Dictionaries
Arrays
Classes
Properties
View Answer
8. To use a function we call that function name with its name and what will be passed as input values?
Expressions
Arguments
parameters
variables
View Answer
9. The building blocks using object, variables and structures are known as _______
methods
objects
properties
classes
View Answer
10. How is an external parameter used with a function?
When return value are not required
When the parameter is used in the function body
None of these
When calling the functions
View Answer