Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Tyeron Hammontree
T
Tyeron Hammontree
Community Contributor
Quizzes Created: 6 | Total Attempts: 2,364
| Attempts: 65 | Questions: 10
Please wait...
Question 1 / 10
0 %
0/100
Score 0/100
1. A XIB file is the most common place you will be able to rearrange the look of your screen when using objects from interface builder

Explanation

An XIB file is a type of file used in Interface Builder, a tool for designing user interfaces in iOS development. In an XIB file, you can arrange and customize the look of your screen by adding and configuring various objects such as buttons, labels, and images. Therefore, it is true that an XIB file is the most common place for rearranging the look of your screen when using objects from Interface Builder.

Submit
Please wait...
About This Quiz
App Programming 1st Trimester Final - Quiz

this final will quickly assess your ability to work inside the Xcode and objective C

Personalize your quiz and earn a certificate with your name on it!
2. Where would you save your image files in Xcode?

Explanation

In Xcode, image files should be saved in the "Resources" folder. This folder is specifically designated for storing various types of resources, including images, that are used in the application. By saving image files in the Resources folder, they can be easily accessed and used within the project.

Submit
3. What is a view based application looking at websites usually use to display those websites?

Explanation

A view-based application looking at websites usually uses a UIWebView to display those websites. UIWebView is a class in iOS that provides a way to embed web content in an application. It allows the application to load and display web pages, handle user interactions with web content, and perform various web-related tasks. Therefore, UIWebView is the correct answer for this question.

Submit
4. What two terms mean the exact same thing in Xcode

Explanation

In Xcode, the terms NIB and XIB mean the exact same thing. NIB stands for NeXT Interface Builder, which was the original file format used by Interface Builder in Xcode. XIB, on the other hand, stands for XML Interface Builder, which is the newer file format used by Interface Builder. Both NIB and XIB files contain the same information and are used to define the user interface of an application.

Submit
5. In what file would you import your header into?

Explanation

The correct answer is the Implementation file because this is where the code implementation for a class is written in Objective-C. Importing the header file into the Implementation file allows the class to access the declarations and definitions specified in the header, ensuring that the class can use the methods, properties, and variables defined in the header.

Submit
6. IF a textbox is going to be showing output from a selection what must be associated with that textbox so that it may display the text?

Explanation

To display the output from a selection in a textbox, the textbox must be associated with an IBOutlet. IBOutlet is a keyword used in iOS development to establish a connection between the user interface elements and the code. By creating an IBOutlet for the textbox, the code can access and manipulate the textbox's properties, such as setting its text to display the desired output from the selection.

Submit
7. Does an IBoutlet have to have an IBaction associated with it?

Explanation

An IBOutlet does not have to have an IBAction associated with it. IBOutlet is used to establish a connection between a user interface element and the code, allowing the code to access and manipulate the element's properties. IBAction, on the other hand, is used to define a method that gets triggered when a specific event occurs, such as a button tap. While it is common to have an IBAction associated with an IBOutlet, it is not mandatory. An IBOutlet can be used solely for accessing and manipulating the element without any associated actions.

Submit
8. In what file are functions usually written?

Explanation

Functions are usually written in the header file. The header file contains the function declarations, which include the function name, return type, and parameter types. The actual implementation of the functions is typically written in a separate source file, such as a .cpp file. The header file allows other parts of the program to access and use the functions without needing to know the specific implementation details.

Submit
9. How would you make a view appear fullscreen in your app?

Explanation

To make a view appear fullscreen in an app, you would need to check the "Scale Page to Fit" option in the interface builder. This option ensures that the view scales and fits the entire screen, making it appear fullscreen. By enabling this option, the view will automatically adjust its size to fit the screen dimensions, providing a fullscreen experience for the user.

Submit
10. In the line of code below what is missing? @interface helloWorld 004ViewController : UIViewController{ IBOutlet UILabel *label;}

Explanation

The correct answer is "A semicolon". In Objective-C, a semicolon is required at the end of a line of code to indicate the end of a statement. In the given line of code, there is a missing semicolon after the declaration of the IBOutlet UILabel *label.

Submit
View My Results

Quiz Review Timeline (Updated): Jun 30, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jun 30, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 08, 2011
    Quiz Created by
    Tyeron Hammontree
Cancel
  • All
    All (10)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A XIB file is the most common place you will be able to rearrange the...
Where would you save your image files in Xcode?
What is a view based application looking at websites usually use to...
What two terms mean the exact same thing in Xcode
In what file would you import your header into?
IF a textbox is going to be showing output from a selection what must...
Does an IBoutlet have to have an IBaction associated with it?
In what file are functions usually written?
How would you make a view appear fullscreen in your app?
In the line of code below what is missing?...
Alert!

Advertisement