diff --git a/adobe-acrobat/adobe-acrobat-quiz.md b/adobe-acrobat/adobe-acrobat-quiz.md index ec1daec4d9..1ec473467d 100644 --- a/adobe-acrobat/adobe-acrobat-quiz.md +++ b/adobe-acrobat/adobe-acrobat-quiz.md @@ -104,3 +104,17 @@ - [ ] Prepare Form > Document Actions - [ ] Prepare Form > Document JavaScripts - [ ] Prepare Form > More + +#### Q16. You turn around the files that you edit fairly quickly, and you edit many files. As a result, the long list of recent files in the Home view has become cumbersome. Where can you customize the number of recent files listed in the Home view? + +- [ ] Preferences > Page Display +- [ ] Preferences > Reading +- [ ] Preferences > General +- [x] Preferences > Documents + +#### Q17. You are about to submit a client’s PDF to a commercial printer. However, at the last minute, you discover a blemish in one of the images in the PDF, which the client requested that you fix. With no access to the original file, how can you do this? + +- [x] Select **Tools** > **Edit PDF**, right-click the image, and select the **Edit Using** option. +- [ ] Select **Tools** > **Enhance Scans** > **Enhance Camera Image**. +- [ ] Select **Tools** > **Enhance Scans** > **Enhance Scanned Document**. +- [ ] Right-click the image and select **Add Image**. diff --git a/adobe-illustrator/adobe-illustrator-quiz.md b/adobe-illustrator/adobe-illustrator-quiz.md index 6d8a2ef656..b2b3f9c875 100755 --- a/adobe-illustrator/adobe-illustrator-quiz.md +++ b/adobe-illustrator/adobe-illustrator-quiz.md @@ -482,3 +482,19 @@ - [x] V - [ ] S - [ ] T + +#### Q66. Why does the top point of this star appear different from the other points? + +![yellow star](images/010.png?raw=true) + +- [ ] The stroke has been outlined. +- [ ] The stroke has a corner type of Bevel Join. +- [x] The star is an open path with two overlapping points at the top. +- [ ] The Limit value in the Stroke panel is less than the stroke width. + +#### Q67. When creating a new color swatch, how can you ensure that the appearance of objects colored with that swatch will update if you edit the swatch at a later time? + +- [ ] Give the swatch a custom name. +- [x] Click **Global** in the **Swatch Options** dialog box. +- [ ] Place the swatch in a color group. +- [ ] Add the swatch to a Creative Cloud library. diff --git a/adobe-illustrator/images/010.png b/adobe-illustrator/images/010.png new file mode 100755 index 0000000000..7034a78cb1 Binary files /dev/null and b/adobe-illustrator/images/010.png differ diff --git a/adobe-in-design/adobe-in-design-quiz.md b/adobe-in-design/adobe-in-design-quiz.md index 5462366e3c..cb869c6f34 100755 --- a/adobe-in-design/adobe-in-design-quiz.md +++ b/adobe-in-design/adobe-in-design-quiz.md @@ -22,3 +22,17 @@ - [ ] The selected text is in overset text outside the boundaries of the current frame. - [ ] The style has been applied to two or more paragraphs. - [ ] The style has been added since the master styles were created. + +#### Q4. You want to ensure that an image on your page is exactly 25% of its original size. How can you determine whether the image is set to the desired size? + +- [x] Double-click the image with the Selection tool. +- [ ] Select the graphic frame with the Selection tool. +- [ ] Click **Window** > **Info**. +- [ ] Click **Object** > **Fitting**. + +#### Q5. You have an empty one-page InDesign document. You have used File > Place to select a Word document that contains many pages of text. What will help you place the full story quickly? + +- [ ] Select **Show Import Options** in the **Place** dialog box. +- [ ] Right-click the page with the place cursor. +- [x] Shift-click with the place cursor inside the margin guides. +- [ ] In the **Pages** panel, click the **New Pages** button with the place cursor. diff --git a/adobe-lightroom/adobe-lightroom-quiz.md b/adobe-lightroom/adobe-lightroom-quiz.md index 711e636952..7c9f5dd584 100644 --- a/adobe-lightroom/adobe-lightroom-quiz.md +++ b/adobe-lightroom/adobe-lightroom-quiz.md @@ -118,3 +118,19 @@ Note: I just use synchronization. After digging into settings I was able only to - [ ] You are editing a raw file. - [ ] You are using the Color Priority style. - [ ] You are using the Highlight Priority style. + +#### Q16. In the image shown, what is the icon circled in yellow? + +![Image with a yellow circle](images/Q16.png) + +- [ ] Virtual copy +- [ ] Synced with Lightroom +- [x] Metadata conflict warning +- [ ] Missing photo + +#### Q17. Which criteria CANNOT be used with a smart collection? + +- [x] Export Date +- [ ] Capture Date +- [ ] Rating +- [ ] Camera Serial Number diff --git a/adobe-lightroom/images/Q16.png b/adobe-lightroom/images/Q16.png new file mode 100755 index 0000000000..326d9e11b2 Binary files /dev/null and b/adobe-lightroom/images/Q16.png differ diff --git a/adobe-photoshop/adobe-photoshop-quiz.md b/adobe-photoshop/adobe-photoshop-quiz.md index 12baffe601..604c0a7619 100755 --- a/adobe-photoshop/adobe-photoshop-quiz.md +++ b/adobe-photoshop/adobe-photoshop-quiz.md @@ -416,7 +416,7 @@ - [x] D - [ ] B -#### Q53. Where do you click to adjust the blending mode for a Smart Filter? +#### Q53. Where do you find natural media brushes? - [ ] Photoshop does not have natural media brushes. - [ ] In the **Brushes** panel, select a brush and then select **Convert to natural media**. diff --git a/adobe-premiere-pro/adobe-premiere-pro-quiz.md b/adobe-premiere-pro/adobe-premiere-pro-quiz.md index 10cb3a1232..d98b0152ec 100644 --- a/adobe-premiere-pro/adobe-premiere-pro-quiz.md +++ b/adobe-premiere-pro/adobe-premiere-pro-quiz.md @@ -328,7 +328,7 @@ E. Ellipse ![image](images/010.png) - [ ] Blacks -- [ ] Contrast +- [x] Contrast - [ ] Whites - [ ] Exposure @@ -382,3 +382,10 @@ E. Ellipse - [ ] Undock Frame - [ ] Maximize Panel - [ ] Maximize Frame + +#### Q48. To quickly arrange the panels in Adobe Premiere Pro for a specific task, what do you use? + +- [x] workspaces +- [ ] layouts +- [ ] panel presets +- [ ] events diff --git a/android/android-quiz.md b/android/android-quiz.md index e4286d2cfa..8628ff7e05 100755 --- a/android/android-quiz.md +++ b/android/android-quiz.md @@ -28,7 +28,16 @@ - [ ] Google Play Services is not installed on the deivce/emulator. - [ ] Battery optimization is turned on on the device. -#### Q5. What is correct set of classes needed to implement a RecyclerView of items that displays a list of widgets vertically? +#### Q5. What is the correct set of component classes needed to implement a RecyclerView of items that displays a list of widgets vertically? + +- [ ] + +``` + RecycleView + RecyclerView.Adapter + RecyclerView.ViewHolder + LinearLayoutManager +``` - [ ] @@ -658,9 +667,9 @@ xml - [ ] root_project_dir/app/build.gradle. - [ ] root_project_dir/settings.gradle. -- [x] root_project_dir/build.gradle. +- [x] root_project_dir/build.gradle. - [ ] root_project_dir/app/gradle.properties. - + [reference](https://developer.android.com/studio/releases/gradle-plugin#updating-plugin) #### Q44. Why do developers often put app initialization code in the Application class? @@ -669,7 +678,7 @@ xml - [ ] The Application class is instantiated after any permissions requests when the process for the application is created. - [ ] The Application class is created each time a new Activity is launched, making it ideal for initialization code. - [ ] The Application class is created each time a background service is called, making it ideal for initialization code. - + [reference](https://developer.android.com/reference/android/app/Application) #### Q45. What folder should you use for your app's launcher icons? diff --git a/autocad/autocad-quiz.md b/autocad/autocad-quiz.md index 67aa8bc1bb..1fab39e798 100755 --- a/autocad/autocad-quiz.md +++ b/autocad/autocad-quiz.md @@ -382,10 +382,10 @@ #### Q51. When using the OFFSET command, you specify an offset distance and then select the object you want to offset. How do you then specify which side of the original object to offset? -- [x] Use the Tab key to alternate which side you want to offset to. -- [ ] Then press Enter (Windows) or Return (Mac) to confirm. +- [ ] Use the Tab key to alternate which side you want to offset to. Then press Enter (Windows) or Return (Mac) to confirm. +- [ ] Move the cursor to the appropriate side of the original object and the OFFSET command automatically offsets that side. - [ ] Right-click and use options on the shortcut menu. -- [ ] Click to the side of the original object where you want the offset object to appear. +- [x] Click to the side of the original object where you want the offset object to appear. #### Q52. When using the ELLIPSE command with the Axis, End, and Center methods, how many axes are needed to form an ellipse? @@ -533,3 +533,10 @@ - [ ] the Plot dialog boxt - [ ] batch plotting - [x] Page Setup Manager (Windows) or Page Setup (Mac) + +#### Q73. Using the Array command, you have the option to create an associative array. What does this mean? + +- [ ] When dimensioning an array, the dimensions displayed are associative. +- [x] The arrayed objects becomes a single entity and, when selected, display as a single entity. +- [ ] The arrayed objects become associated to the X and Y coordinates used for the array. +- [ ] The array is associated to the linetype scale. diff --git a/aws/aws-quiz.md b/aws/aws-quiz.md index d8ce27e573..c76a21e4f6 100755 --- a/aws/aws-quiz.md +++ b/aws/aws-quiz.md @@ -536,7 +536,7 @@ aws ec2 reboot-instances --instance-ids i-0b263919b6498b123 aws ec2 start-instances --instance-ids i-0b263919b6498b123 ``` -#### Q64 What is wrong with the third incoming security group rule, which allows all traffic from sg-269afc5e to go to an +#### Q64. What is wrong with the third incoming security group rule, which allows all traffic from sg-269afc5e to go to an Ubuntu EC2 instance configured as a web server? @@ -548,7 +548,7 @@ Ubuntu EC2 instance configured as a web server? - [ ] ?> All traffic on all ports are allowed into this instance. This exposes the instance to all public internet traffic and overwrites the incoming HTTP rule. -#### Q65 You have a VPC that has a public and private subnet. There is a NAT gateway in the public subnet that allows instances in the private subnet to access the internet without having public exposure outside of the VPC. What should the routing tables be for the private subnet? +#### Q65. You have a VPC that has a public and private subnet. There is a NAT gateway in the public subnet that allows instances in the private subnet to access the internet without having public exposure outside of the VPC. What should the routing tables be for the private subnet? ![image](images/003.png) @@ -580,14 +580,14 @@ Destination 1: 10.0.0.0/16, Target 1: vpc-12bd09ac2; Destination 2: 0.0.0.0/0, Target 2: igw-b2ff47d6 ``` -#### Q66 To comply with auditing requirements of some compliance standards, which AWS tool can be enabled to maintain an audit log of access and changes to your AWS infrastructure? +#### Q66. To comply with auditing requirements of some compliance standards, which AWS tool can be enabled to maintain an audit log of access and changes to your AWS infrastructure? - [x] CloudTrail - [ ] CloudWatch - [ ] AWS Audit and Compliance Tool - [ ] GuardDuty -#### Q67 You have an application that generates long-running reports, stores them in an S3 bucket, and then emails the user who requested +#### Q67. You have an application that generates long-running reports, stores them in an S3 bucket, and then emails the user who requested the report with a link to download it. What is the best practice for storing the report data in S3? @@ -604,14 +604,14 @@ the report with a link to download it. What is the best practice for storing the session or force the user to log in. Set the report object in S3 to public. Show the user a "Download" button in the browser that links to the public object. -#### Q68 When sending a large volume of email through SES, what is the most important set of metrics to monitor? +#### Q68. When sending a large volume of email through SES, what is the most important set of metrics to monitor? - [x] your complaint and bounce rates - [ ] opens and clicks - [ ] clicks and deliveries - [ ] sending volume over the past 15 minutes and over one day to watch for billing spikes -#### Q69 You are going to host an application that uses a MySQL database. Which database should you select if you don't want to manage +#### Q69. You are going to host an application that uses a MySQL database. Which database should you select if you don't want to manage scaling or database administration tasks? @@ -620,7 +620,7 @@ scaling or database administration tasks? - [ ] RDS for MySQL - [ ] Redshift -#### Q70 A form in web application is sending sign-up data to "http://example.com/signup/new?source=web" and this data needs to be handled by an ECS service behind Application Load Balancer (ALB). Which ALB rule will route this request? +#### Q70. A form in web application is sending sign-up data to "http://example.com/signup/new?source=web" and this data needs to be handled by an ECS service behind Application Load Balancer (ALB). Which ALB rule will route this request? ![image](images/004.png) @@ -647,14 +647,14 @@ Then - [ ] C ...One more with POST - [x] D ...Only one with Get -#### Q71 Which AWS service can host the web application server for a WordPress site? +#### Q71. Which AWS service can host the web application server for a WordPress site? - [ ] S3 - [x] Elastic BeanStalk - [ ] ElasticCache - [ ] CloudFront -#### Q72 What does the following AWS CLI `create-service` command for ECS do? +#### Q72. What does the following AWS CLI `create-service` command for ECS do? ``` aws ecs create-service \ @@ -670,4 +670,18 @@ aws ecs create-service \ - [ ] changes the security groups of the running **rest-api** task - [ ] creates a cluster called **production** and launches two containers into Farget with the **rest-api** task definition - [ ] launches two containers onto Farget into the existing **production** cluster using the **rest-api** task definition -- [ ] creates a service definition for the **rest-api** task; put two containers on the production cluster when launched **ecs-cli** up command \ No newline at end of file +- [ ] creates a service definition for the **rest-api** task; put two containers on the production cluster when launched **ecs-cli** up command + +#### Q73. You want to make your public API quickly accessible from all regions. What is the best way to do this? + +- [ ] Create a single API gateway endpoint in a central region. +- [ ] Create a private API gateway endpoint for each region. +- [ ] Create a regional API gateway endpoint for each region. +- [x] Create edge-optimized API gateway endpoints and deploy them to a CloudFront network. + +#### Q74. What type of data solution should you use for data coming from nonrelational and relational data from IoT devices, websites, mobile apps, etc.? + +- [ ] Amazon DynamoDB +- [x] AWS Lake Formation +- [ ] Amazon Redshift +- [ ] Amazon Aurora diff --git a/bash/bash-quiz.md b/bash/bash-quiz.md index 3ff01ac925..c38b6f68d1 100755 --- a/bash/bash-quiz.md +++ b/bash/bash-quiz.md @@ -661,3 +661,26 @@ echo "\${VAR//man/rolling}" - [x] $PATH - [ ] $PROGRAM - [ ] $PATHS + +#### Q55. What does this command sequence do? + +```bash +cat >notes - +``` + +- [ ] It creates an empty file called "notes" and then exits. +- [x] It accepts text from the standard input and places it in the "notes" file. +- [ ] It appends text to an existing file called "notes." +- [ ] It outputs the contents of the "notes" file to the screen, and then deletes it. + +#### Q56. What is the output of this code? + +```bash +VAR="This old man came rolling" +echo "${VAR//man/rolling}" +``` + +- [ ] This old man came man +- [ ] This old man came rolling +- [x] This old rolling came rolling +- [ ] This old came diff --git a/c#/c-sharp-quiz.md b/c#/c-sharp-quiz.md index 9aebfcd074..d69d8e1677 100755 --- a/c#/c-sharp-quiz.md +++ b/c#/c-sharp-quiz.md @@ -386,10 +386,10 @@ public static void Main(string[] args) `public class User {}` -- [ ] mark the User class with the DeserializableAttribute -- [ ] Declare it as public serializable class User {} -- [x] Mark it with the SerializableAttribute // [Serializable] public class User {} -- [ ] Declare it as private serializable class User{} +- [ ] Mark the User class with the `DeserializableAttribute`. +- [ ] Declare the class as `public serializable class User {}`. +- [x] Mark the User class with the `SerializableAttribute` attribute. +- [ ] Declare the class as `private serializable class User {}`. #### Q44. How would you write a delegate named ResultCallback with an int parameter named responseCode diff --git a/css/css-quiz.md b/css/css-quiz.md index c2822060c3..dc7acb87d8 100755 --- a/css/css-quiz.md +++ b/css/css-quiz.md @@ -1025,3 +1025,93 @@ grid-template-columns: 2fr 1fr; - [ ] img#photo:hover {transform: scale(0.5);} - [ ] img#photo {hover-scale: 0.5;} - [ ] img#photo:hover {size: smaller;} + +#### Q86. Which CSS properties can you use to create a rounded corner on just the top-left and top-right corners of an element? + +```css +A. border-radius: 10px 10px 0 0; +B. border-top-left-radius: 10px; and border-top-right-radius: 10px; +C. border-radius: 10px 0; +D. border-top-radius: 10px; +``` + +- [ ] A and C +- [ ] C and D +- [ ] B and C +- [x] A and B + +#### Q87. Review the HTML example below. Then choose the list of selectors that select the \

, from lowest to highest specificity. + +```html +

+

...

+
+``` + +- [ ] + +```css +1. section \* { + ...; +} +2. [class*='example'] { + ...; +} +3. p.example { + ...; +} +4. section p { + ...; +} +``` + +- [ ] + +```css +1. p { + ...; +} +2. p.example { + ...; +} +3. section p { + ...; +} +4. [class*='example'] { + ...; +} +``` + +- [ ] + +```css +1. p.example { + ...; +} +2. section p { + ...; +} +3. [class*='example'] { + ...; +} +4. section \* { + ...; +} +``` + +- [x] + +```css +1. p { + ...; +} +2. section p { + ...; +} +3. [class*='example'] { + ...; +} +4. p.example { + ...; +} +``` diff --git a/django/django-quiz.md b/django/django-quiz.md index 4ea73ad951..0a430136d6 100644 --- a/django/django-quiz.md +++ b/django/django-quiz.md @@ -241,19 +241,19 @@ name = models.CharField(max_length=100) - [x] import django django.get_version() - [ ] python -c django --version -#### Q32. You should use the http method ** to read data and ** to update or create data +#### Q32. You should use the http method `___` to read data and `___` to update or create data -- [ ] read;write -- [ ] get; post -- [ ] post; get -- [x] get; patch +- [ ] READ; WRITE +- [x] GET; POST +- [ ] POST; GET +- [ ] GET; PATCH #### Q33. When should you employ the POST method over GET for submitting data? - [ ] when efficiency is important -- [ ] for caching data -- [ ] help your browser with debugging -- [x] data may be sensitive +- [ ] when you want the data to be cached +- [ ] when you want to use your browser to help with debugging +- [x] when the data in the form may be sensitive #### Q34. When to use the Django sites framework? @@ -448,7 +448,7 @@ model=Planet - [ ] controllers - [ ] programmers - [ ] clients - + #### Q49. Which is not the part of Django Design Philosophies? - [ ] Loose Coupling diff --git a/dotnet-framework/dotnet-framework-quiz.md b/dotnet-framework/dotnet-framework-quiz.md index 4ae8ee0521..9c26e33c70 100755 --- a/dotnet-framework/dotnet-framework-quiz.md +++ b/dotnet-framework/dotnet-framework-quiz.md @@ -56,49 +56,49 @@ - [ ] Bridge - [x] Decorator -#### Q9.What makes a strong-named assembly? +#### Q9. What makes a strong-named assembly? - [ ] an assembly with the version specified - [x] a signed assembly - [ ] an assembly with culture information - [ ] an assembly with the name marked as important -#### Q10.What happens when you concatenate two strings? +#### Q10. What happens when you concatenate two strings? - [ ] You cannot concatenate strings in .NET. - [ ] The second string object is modified so it contains the concatenated strings. - [x] A third string object is created containing the concatenated strings. - [ ] The first string object is modified so it contains the concatenated strings. -#### Q11.What is a delegate? +#### Q11. What is a delegate? - [ ] A delegate is an object or collection initializer that adds flexibility, readability and maintainability in C#. - [x] A delegate in .NET is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. - [ ] A delegate is a collection initializer that adds flexibility, readability and maintainability in .NET. - [ ] A delegate is an extension method. Using a delegate allows the programmer to add flexibility, readability and maintainability in .NET. -#### Q12.Which is a set of features that extends the query capabilities of the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source? +#### Q12. Which is a set of features that extends the query capabilities of the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source? - [ ] XML - [ ] C# - [x] LINQ - [ ] XAML -#### Q13.What is the single responsibility principle? +#### Q13. What is the single responsibility principle? - [ ] Software entities should be open for extension, but closed for modification. - [ ] Entities must depend on abstractions, not on concrete implementations. - [ ] Objects in a program should be repleaceble with instances of their subtypes without altering the correctness of that programm. - [x] A class should have only a single responsibility - that is, only changes to one part of the software's specification should be able to affect the specification of the class. -#### Q14.When should a developer use the .NET Standard class library project type? +#### Q14. When should a developer use the .NET Standard class library project type? - [ ] when you want to increase the .NET API surface area your library can access, and allow only .NET Core apps to be compatible with your library - [x] when you want to increase the number of apps that are compatible with your library, and decrease the .NET API surface area your library can access - [ ] when you want to decrease speed but have more features - [ ] when you want to increase compilation speed and have fewer features -#### Q15.What is the difference between a SDK (software development kit) and runtime in .NET Core? +#### Q15. What is the difference between a SDK (software development kit) and runtime in .NET Core? - [ ] The SDK is the "virtual machine" that hosts and runs the application and abstracts all the interaction with the operating system; the runtime usually includes documentation and other help files. - [x] The runtime is the virtual machine that hosts and runs the application and abstracts all the interaction with the operating system; the SDK usually includes documentation and other help files. @@ -114,28 +114,28 @@ [reference link](https://en.wikipedia.org/wiki/Common_Type_System#:~:text=In%20Microsoft's%20.,languages%20to%20easily%20share%20information.) -#### Q17.Assuming y is a value type, which is an example of boxing? +#### Q17. Assuming y is a value type, which is an example of boxing? - [ ] y = (int)thisObject; - [ ] int y = 3; - [ ] y = (int)thisObject=;3; - [x] object thisObject = y; -#### Q18.What is an abstract class in .NET? +#### Q18. What is an abstract class in .NET? - [ ] An abstract class provides a partial implementation for functionality and some abstract or virtual members that must be implemented by the inheriting entities. It can declare fields too. - [ ] An abstract class allows developers to create new classes that reuse, extend, and modify the behavior defined in other classes. - [ ] An abstract class is responsible for keeping track of what is actually executing and where each executing thread is. - [x] An abstract class declares a contract or behavior that implementing classes require. It may declare only properties, methods, and events with no access modifiers. All the declared members must be implemented. -#### Q19.What is the namespace for caching information in .NET? +#### Q19. What is the namespace for caching information in .NET? - [ ] System.Data.Caching; - [ ] All.System.Caching; - [x] System.Runtime.Caching; - [ ] System.Compiler.Caching; -#### Q20.What is an interface in .NET? +#### Q20. What is an interface in .NET? - [ ] An interface provides a partial implementation for functionality and some abstract or virtual members that must be implemented by the inheriting entities. It can declare fields too. - [ ] An interface is responsible for keeping track of what is actually executing and where each executing thread is. @@ -337,3 +337,19 @@ https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task?view=net - [ ] in the view - [x] in configuration files - [ ] in the database + +#### Q47. Which statement about the `this` keyword is _not_ true? + +- [ ] The `this` keyword lets a constructor call a different constructor in the same class. +- [x] A constructor can use a base statement and a `this` statement if the base statement comes first. +- [ ] A constructor can use one `this` statement at most. +- [ ] If a constructor uses a `this` statement, its code is executed after the invoked constructor is executed. + +#### Q48. When should you use the .NET Core class library project type? + +- [x] when you want to increase the .NET API surface area your library can access, and allow only .NET Core apps to be compatible with your library +- [ ] when you want to increase the number of apps that are compatible with your library, and decrease the .NET API surface area your library can access +- [ ] when you want to decrease speed but have more features +- [ ] when you want to increase compilation speed and have fewer features + +See Q14 for the same question but with .NET Standard diff --git a/eclipse/eclipse-quiz.md b/eclipse/eclipse-quiz.md index c5992c61f3..a6ce56360d 100644 --- a/eclipse/eclipse-quiz.md +++ b/eclipse/eclipse-quiz.md @@ -153,3 +153,17 @@ - [ ] Click Window (Eclipse) -> Preferences -> Java -> Editor -> Save Actions - [ ] Click File -> Save All. - [ ] Change the project's run configuration. + +#### Q23. Which is _not_ a valid way to create a test class? + +- [ ] In the **Package Explorer**, right-click a class and select **New > JUnit Test Case**. +- [x] none of these answers +- [ ] Create a JUnit Test Case class through the **File** menu. +- [ ] Create the class manually while in any perspective. + +#### Q24. What happens when you double-click a Revision Time in the History view? + +- [ ] Nothing happens. +- [x] The select file is opened in the Editor in its state at the time of the revision. +- [ ] The revision opens in a **Split Editor** window alongside the current local revision of the file. +- [ ] A pop-up window showing details about the revision appears. diff --git a/front-end-development/front-end-development-quiz.md b/front-end-development/front-end-development-quiz.md index 32042cd3a8..09bde07333 100644 --- a/front-end-development/front-end-development-quiz.md +++ b/front-end-development/front-end-development-quiz.md @@ -378,22 +378,48 @@ const user = { #### Q40. what does the CSS selector a[href$="org"] select? -- [ ] all tags whose href attribute begins with "org" -- [ ] all tags whose href attribute equals "org" -- [x] all tags whose href attribute ends with "org" -- [ ] all tags whose href attribute contains "org" +- [ ] all \ tags whose href attribute begins with "org" +- [ ] all \ tags whose href attribute equals "org" +- [x] all \ tags whose href attribute ends with "org" +- [ ] all \ tags whose href attribute contains "org" -**#### Q41. Which choice is not of invoking strict mode in JavaScript?** +#### Q41. Which choice is not of invoking strict mode in JavaScript? - [ ] it eliminates some JavaScript silent errors by changing them to throw errors. - [ ] it prohibits some syntax likely to be defined in future versions of ECMAScript. - [ ] it forces the writing of valid HTML and CSS. - [ ] it fixes mistakes that make it difficult for JavaScript engines to perform optimizations. -** Q42. In normal flow, some elements display as block elements default and others inline. which choice contains only block-level by default elements?** +#### Q42. In normal flow, some elements display as block elements default and others inline. which choice contains only block-level by default elements?\*\* - [ ] ul, li, a - [ ] p, b, h3 - [ ] div, p, em -- [X] div, main, h1 +- [x] div, main, h1 +#### Q43. Which line would you add to this code to add "Cosmos" to the list of currencies using JavaScript? + +```javascript +var currencies = ['Bitcoin', 'Ethereum']; + +/* Missing line */ +console.log(currencies); +``` + +- [x] `currencies.push("Cosmos");` +- [ ] `Array.append("Cosmos", currencies);` +- [ ] `currencies.add("Cosmos");` +- [ ] `currencies(2) = "Cosmos";` + +#### Q44. How would you change this code to make Vanilla selected by default? + +```javascript +Strawberry +Vanilla +Chocolate +``` + +- [x] `` +- [ ] `` +- [ ] `` +- [ ] `` diff --git a/git/git-quiz.md b/git/git-quiz.md index 4ce222fd6c..5854a306b8 100755 --- a/git/git-quiz.md +++ b/git/git-quiz.md @@ -327,9 +327,9 @@ modified: beta-notes.js - [ ] Use git clear-all to clean up any hanging files. - [x] Run git rebase to move the current commit to its original location. -#### Q34. You're in the middle of modifying a file when you're unexpectedly assigned an urgent bug fix on another branch. What would you do to temporarily save the work your doing locally without committing? +#### Q34. While modifying a file, you're unexpectedly assigned an urgent bug fix on another branch. How can you temporarily save your local work without committing? -- [ ] You cannot save locally without committing, so that is not possible. +- [ ] This is not possible, as you cannot save locally without committing. - [ ] Run git hold to save a local copy of what you're doing to return to later. - [ ] Save your work with git local-cache. - [x] Use git stash to save your work and come back later and reapply the stashed commit. @@ -747,3 +747,10 @@ Which of the following options is correct ? - [x] `git status` - [ ] `git local` - [ ] `git context` + +#### Q92. Your current repository has three branches: master, beta, and push-notifications. You have just finished the notification feature and commit the changes to the push-notification branch, and you want to include them in the beta branch. How can you accomplish this? + +- [x] Check out the beta branch and run git merge push-notifications. +- [ ] Check out the push-notifications branch and run git merge beta. +- [ ] Check out the master branch and run git merge beta -> push-notifications. +- [ ] Delete the push-notifications branch; it will be committed to the master branch automatically. diff --git a/google-analytics/google-analytics-quiz.md b/google-analytics/google-analytics-quiz.md index 871911aced..ac225da49f 100755 --- a/google-analytics/google-analytics-quiz.md +++ b/google-analytics/google-analytics-quiz.md @@ -469,3 +469,17 @@ - [ ] urchin.js - [ ] gaq.push and ga.js - [ ] analytics.js + +#### Q66. What is an example of a dimension? + +- [ ] Sessions +- [ ] Bounce Rate +- [ ] Conversions +- [x] Source/Medium + +#### Q67. Which report displays the page a visitor arrived on? + +- [ ] Behavior Flow +- [ ] Exit Pages +- [x] Landing Pages +- [ ] Channels diff --git a/hadoop/hadoop-quiz.md b/hadoop/hadoop-quiz.md index 16914d4e90..6b23f022fe 100755 --- a/hadoop/hadoop-quiz.md +++ b/hadoop/hadoop-quiz.md @@ -218,3 +218,17 @@ - [ ] Skip bad records. - [ ] Break up Mappers that do more than one task into multiple Mappers. - [ ] Combine Mappers that do one task into large Mappers. + +#### Q32. When implemented on a public cloud, with what does Hadoop processing interact? + +- [x] files in object storage +- [ ] graph data in graph databases +- [ ] relational data in managed RDBMS systems +- [ ] JSON data in NoSQL databases + +#### Q33. In the Hadoop system, what administrative mode is used for maintenance? + +- [ ] data mode +- [x] safe mode +- [ ] single-user mode +- [ ] pseudo-distributed mode diff --git a/html/html-quiz.md b/html/html-quiz.md index c35f9520f2..1c9ed4a6c4 100755 --- a/html/html-quiz.md +++ b/html/html-quiz.md @@ -38,8 +38,8 @@ #### Q6. When is the `` tag used? - [ ] when linking style sheets, JavaScript, and icons for mobile apps -- [ ] when linking style sheets, favicons, and preloading assets -- [x] when linking style sheets and favicons +- [x] when linking style sheets, favicons, and preloading assets +- [ ] when linking one webpage to another - [ ] when linking style sheets, external URLs, and favicons #### Q7. The "value" attribute is associated with which set of tags? @@ -999,7 +999,6 @@ From [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr): The HT - [ ] `
` - [ ] `` - #### Q63. What is the semantic meaning of the `
` tag? - [ ] It draws a horizontal line. @@ -1255,7 +1254,6 @@ As Steve Krug once said, happy talk must die. ``` - #### Q79. Which choice is the best way to mark up this loyout? ![Image of footer](images/ss-8.png?raw=true) @@ -1277,8 +1275,8 @@ As Steve Krug once said, happy talk must die. 6640 via Real
info@linkedin.com - ``` + - [ ] ```markdown @@ -1287,7 +1285,6 @@ As Steve Krug once said, happy talk must die. 6640 via Real
info@linkedin.com - ``` - [ ] @@ -1300,5 +1297,12 @@ As Steve Krug once said, happy talk must die.

``` + - [ ] +#### Q80. What is the primary purpose of HTML? + +- [x] HTML structures the webpage, identifying its elements such as paragraphs, headings, and lists. +- [ ] HTML structures and provides a rudimentary look to webpages. +- [ ] HTML is responsible for the structure, styling, and interactivity of webpages. +- [ ] HTML is responsible for the structure and styling of webpages. diff --git a/it-operations/it-operations-quiz.md b/it-operations/it-operations-quiz.md index 24553c2bab..ee4e67d508 100755 --- a/it-operations/it-operations-quiz.md +++ b/it-operations/it-operations-quiz.md @@ -49,13 +49,13 @@ - [ ] The order is not important. - [ ] 1. Modem - 2. Gateway - 3. Switch + 2. Gateway + 3. Switch - [x] 1. Modem - 2. Switch - 3. Gateway + 2. Switch + 3. Gateway - [ ] 1. Gateway - 2. Switch + 2. Switch #### Q7. A client needs to secure their cafe's wireless network, which is used only by employees. What is the best approach for a finite list of devices? @@ -81,25 +81,25 @@ #### Q10. Which components are typically found on the motherboard? - [ ] basic I/O - graphics - NIC - battery - expansion slots + graphics + NIC + battery + expansion slots - [ ] basic I/O - cooling - NIC - graphics - expansion slots + cooling + NIC + graphics + expansion slots - [x] basic I/O - graphics - NIC - mass storage - expansion slots + graphics + NIC + mass storage + expansion slots - [ ] basic I/O - graphics - NIC - power supply - expansion slots + graphics + NIC + power supply + expansion slots #### Q11. What does the acronym RAID refer to? @@ -137,3 +137,17 @@ - [ ] Yes. Incognito mode encrypts data packets, making it difficult for websites to track your activity. - [x] No. Some websites track by ID, and if you sign into a site even in incognito, your activity is known. - [ ] Yes. Incognito mode blocks all cookies and tracking IDs and suppresses browser history. + +#### Q16. What must you confirm before performing a processor upgrade? + +- [x] The new processor is compatible with the current motherboard. +- [ ] The new processor is the same type as the old. +- [ ] The new processor is compatible with the operating system. +- [ ] The new processor fits into the old processor's slot. + +#### Q17. Which type of storage has the fastest data access speeds? + +- [ ] Secure Sockets Layer drive +- [x] solid-state drive +- [ ] serial attached storage device +- [ ] SCSI drive diff --git a/jquery/jquery-quiz.md b/jquery/jquery-quiz.md index ba64b2d0f5..aefe612425 100755 --- a/jquery/jquery-quiz.md +++ b/jquery/jquery-quiz.md @@ -179,7 +179,7 @@ $(this).animate({ top: '100', left: '100' }, 600, function () { - [x] `$('.feedback').addClass('success');` - [ ] `$('.feedback').css('.success');` -#### Q8. Below is an example page snippet that includes a couple of messages in a list, and a code snippet that retrieves a few hundred messages from a API endpoints using AJAX. How might we add these items to the page snippet in a way that avoids performance problems with DOM insertions? +#### Q8. The following page snippet includes a couple of messages in a list, and a code snippet that retrieves a few hundred messages from an API endpoint using AJAX. How can you add these new items to the .message-area--list element in the most performant way? ```html
@@ -188,19 +188,44 @@ $(this).animate({ top: '100', left: '100' }, 600, function () {
  • Existing message 2
  • + +$.get('//example.com/api/v1/message').done(function (data) { var tonsOfItems = data.messages; // add +all these messages to a large page }); +``` + +- [ ] + +```js +tonsOfItems.map(function (item) { + $('.message-area--list').append('
  • ' + item + '
  • '); +}); +``` + +- [x] + +```js +var tonsOfListItems = tonsOfItems.map(function (item) { + return '
  • ' + item + '
  • '; +}); +$('.message-area--list').append(tonsOfListItems.join('')); ``` +- [ ] + ```js -$.get('//example.com/api/v1/message').done(function (data) { - var tonsOfItems = data.messages; - // add all these messages to a large page +CSS.$messageList = $('.message-area--list'); +$.each(tonsOfItems, function (idx, item) { + $('
  • ' + item + '
  • ').appendTo($messageList); }); ``` -- [x] `tonsOfItems.map(function(item) { $('.message-area--list').append('
  • '+item+'
  • '); });` -- [ ] `var tonsOfListItems = tonsOfItems.map(function(item)) { return '
  • '+item+'
  • '; }); $('.message-area--list').append(tonsOfListItems.join(''));` -- [ ] `Removing the event handlers with JavaScript will be slower than removing them $.each(tonsOfItems, function(idx, item) { $('
  • '+item+'
  • ').appendTo($messageList); });` -- [ ] `$.each(tonsOfItems, function(idx, item) { $('.message-area--list').append('
  • '+item+'
  • '); });` +- [ ] + +```js +$.each(tonsOfItems, function (idx, item) { + $('.message-area--list').append('
  • ' + item + '
  • '); +}); +``` #### Q9. What is jQuery? @@ -1134,3 +1159,10 @@ $('element-2').animate({ top: '+=100' }, {queue: 'custom'}); $('element-3').animate({ top: '+=100' }, {queue: 'custom'}); $('custom').dequeue(); ``` + +#### Q62. Given this checkbox, how can you determine whether a user has selected or cleared the checkbox? `` + +- [ ] by checking the value of $('#same-address').val() +- [x] by checking the value of $('#same-address').prop('checked') +- [ ] by checking the value of $('#same-address').attr('checked') +- [ ] by checking the value of $('#same-address').checked diff --git a/kotlin/kotlin-quiz.md b/kotlin/kotlin-quiz.md index ad18b6b78f..2f42e17dd3 100644 --- a/kotlin/kotlin-quiz.md +++ b/kotlin/kotlin-quiz.md @@ -587,3 +587,36 @@ for(y in 1..100) y+=2 - [x] y is an implicitly immutable value - [ ] y can change only in a while loop - [ ] In order to change y, it must be declared outside of the loop + +#### Q51. You have created a data class, Point, that holds two properties, x and y, representing a point on a grid. You want to use the hash symbol for subtraction on the Point class, but the code as shown will not compile. How can you fix it? + +```kotlin +data class Point(val x: Int, val y: Int) + +operator fun Point.plus(other: Point) = Point(x + other.x, y + other.y) +operator fun Point.hash(other: Point) = Point(x - other.x, y - other.y) + +fun main() { + val point1 = Point(10, 20) + val point2 = Point(20, 30) + println(point1 + point2) + println(point1 # point2) +} +``` + +- [x] You cannot; the hash symbol is not a valid operator. +- [ ] You should replace the word hash with octothorpe, the actual name for the symbol. +- [ ] You should use `minus` instead of hash, then type alias the minus symbol. +- [ ] You need to replace operator with the word `infix`. + +#### Q52. This code snippet compiles without error, but never prints the results when executed. What could be wrong? + +```kotlin +val result = generateSequence(1) { it + 1 }.toList() +println(result) +``` + +- [ ] The sequence lacks a terminal operation. +- [x] The sequence is infinite and lacks an intermediate operation to make it finite. +- [ ] The expression should begin with generateSequence(0). +- [ ] The it parameter should be replaced with this. diff --git a/linux/linux-assesment.md b/linux/linux-assesment.md index 2e17145410..fee7c95a7e 100644 --- a/linux/linux-assesment.md +++ b/linux/linux-assesment.md @@ -347,3 +347,10 @@ date | mail -s "This is a remote test" user1@rhhost1.localnet.com - [ ] to lock a user's account - [x] to change global user account settings - [ ] to set a user's password + +#### Q44. Extending an LVM volume group does what to the formatted filesystem? + +- [ ] It prepares the filesystem for use by defragmenting it. +- [ ] It resizes the filesystem to match the volume group size. +- [x] It does nothing. +- [ ] It remounts the filesystem with the new size. diff --git a/machine-learning/machine-learning-quiz.md b/machine-learning/machine-learning-quiz.md index 2a6ae221c1..a119411a8b 100755 --- a/machine-learning/machine-learning-quiz.md +++ b/machine-learning/machine-learning-quiz.md @@ -333,14 +333,14 @@ Note: there are centres of clusters (C0, C1, C2). - [ ] It would substantially shorten your development time. - [ ] It would increase the speed of the appliance. -#### Q45. You work for a hospital that is tracking the community spread of a virus. The hospital created a smartwatch app that uploads body temperature data from hundreds of thousands of participants. What is best technique to analyze the data? +#### Q45. You work for a hospital that is tracking the community spread of a virus. The hospital created a smartwatch application that uploads body temperature data from hundreds of thousands of participants. What is the best technique to analyze the data? -- [ ] Use reinforcement learning to reward the system when a new person participates -- [ ] Unsupervised machine learning to cluster together people based on patterns the machine discovers -- [ ] Supervised machine learning to sort people by demographic data -- [x] supervised ml to classify people by body temperature +- [ ] Use reinforcement learning to reward the system when a new person participates. +- [ ] Use unsupervised machine learning to cluster together people based on patterns the machine discovers. +- [ ] Use Supervised machine learning to sort people by demographic data. +- [x] Use Supervised machine learning to classify people by body temperature. -#### Q46. Man of the advances in ml have come from improved +#### Q46. Many of the advances in machine learning have come from improved `___`. - [ ] statistics - [ ] structured data @@ -356,12 +356,12 @@ Note: there are centres of clusters (C0, C1, C2). - [ ] multiclass classification - [x] k-nearest neighbour -#### Q48. The supervisor asks to create a ml system that will help your hr dep. classify job applicants into well-defined groups.What type of system are more likely to recommend? +#### Q48. The supervisor asks to create a machine learning system that will help your hr dep. classify job applicants into well-defined groups.What type of system are more likely to recommend? - [ ] deep learning artificial neural network that relies on petabytes of data -- [ ] unsupervised ml system that clusters together the best candidates -- [ ] Not recommend ml for this project -- [x] supervised ml system that classifies applicants into existing groups // we do not need to classify best candidates we just need to classify job applicants in to existing categories +- [ ] unsupervised machine learning system that clusters together the best candidates +- [ ] Not recommend machine learning for this project +- [x] supervised machine learning system that classifies applicants into existing groups // we do not need to classify best candidates we just need to classify job applicants in to existing categories #### Q49. Someone of your data science team recommends that you use decision trees, naive Bayes and K-nearest neighbor, all at the same time, on the same training data, and then average the results. What is this an example of? @@ -370,9 +370,9 @@ Note: there are centres of clusters (C0, C1, C2). - [ ] high -variance modeling - [x] ensemble modeling -#### Q50. Your data science team wants to use ml to better filter out spam messages. The team has gathered a database of 100,000 messages that have been identified as spam or not spam. If you are using supervised ml, what would you call this data set? +#### Q50. Your data science team wants to use machine learning to better filter out spam messages. The team has gathered a database of 100,000 messages that have been identified as spam or not spam. If you are using supervised machine learning, what would you call this data set? -- [ ] ml algorithm +- [ ] machine learning algorithm - [x] training set - [ ] big data test set - [ ] data cluster diff --git a/matlab/matlab-quiz.md b/matlab/matlab-quiz.md index 05404d0892..6ec33edb26 100755 --- a/matlab/matlab-quiz.md +++ b/matlab/matlab-quiz.md @@ -779,3 +779,17 @@ a = a^2; - [ ] MATLAB does not allow you to square all the elements in the matrix in a single operation. - [ ] You must use the \*\* operator instead of the ^ operator. - [ ] You cannot square matrices that have a 0 as the first element. + +#### Q49. Which command will create a 10-element vector v with values from 1 to 10? + +- [ ] v = {1:10} +- [ ] v = [1-10] +- [x] v = 1:10 +- [ ] v = (10) + +#### Q50. For a 5 x 5 array, the two subscript index (4,2) indexes the same location as linear index `___`. + +- [ ] 7 +- [ ] 8 +- [ ] 17 +- [x] 9 diff --git a/maven/maven-quiz.md b/maven/maven-quiz.md index d4a5a19cd1..0fb840df71 100755 --- a/maven/maven-quiz.md +++ b/maven/maven-quiz.md @@ -333,3 +333,10 @@ mvn install - [x] Shade - [ ] Dependency - [ ] Package + +#### Q45. What is the default scope for Maven dependencies? + +- [ ] Test +- [x] Compile +- [ ] Runtime +- [ ] Build diff --git a/microsoft-access/microsoft-access.md b/microsoft-access/microsoft-access.md index bc7b3ba52a..251a8681be 100644 --- a/microsoft-access/microsoft-access.md +++ b/microsoft-access/microsoft-access.md @@ -195,3 +195,17 @@ - [ ] When you want to retrieve all of the records from the right table that have matching records in the left table - [ ] When you want to retrieve just the records from the left table that have matching records in the right table - [ ] When you want to retrieve just the records from the left table that do not have any matching records in the right table + +#### Q27. How can you run a submacro saved in a macro? + +- [ ] Use an If container in the macro. +- [ ] Call the submacro with the [MacroName]![SubMacroName] syntax. +- [x] Use a RunMacro or OnError macro action. +- [ ] Expand the macro in the **Navigation Pane** and double-click the submacro name. + +#### Q28. Which combo box property defines what values appear when the user clicks the drop-down arrow? + +- [ ] Control Source +- [x] Row Source +- [ ] Value List +- [ ] Data Source diff --git a/microsoft-azure/microsoft-azure-quiz.md b/microsoft-azure/microsoft-azure-quiz.md index 809ce76292..eeeb6a0fb6 100755 --- a/microsoft-azure/microsoft-azure-quiz.md +++ b/microsoft-azure/microsoft-azure-quiz.md @@ -359,3 +359,17 @@ - [ ] REST API - [ ] Storage Explorer - [ ] NFS + +#### Q49. You have source code for a project in a repository on GitHub. You need to migrate source code to a repository in Azure Repos. The solution should minimize effort. Which solution should you recommend? + +- [ ] Download the GitHub repository to a Zip file, and then unzip the repository in Azure DevOps. +- [x] From the **Import a Git repository** menu, select **Import**. +- [ ] Create a service connection to the GitHub repository. +- [ ] Create a webhook in GitHub and then trigger it from Azure DevOps. + +#### Q50. You need to facilitate user acceptance testing (UAT) on your web application hosted in App Service. Testers must approve changes before they are deployed to production. You should implement support for these requirements with a minimum of cost and complexity. What should you do? + +- [ ] Configure an additional App Service instance. In Azure DevOps, enable an approval gate for deployment. +- [ ] Configure an Azure load balancer to redirect traffic to the approved App Service instance. +- [x] Configure an additional deployment slot in the existing App Service instance. +- [ ] Configure an App Service Environment (ASE). diff --git a/microsoft-excel/microsoft-excel-quiz.md b/microsoft-excel/microsoft-excel-quiz.md index a3fd74bea9..75057056dc 100755 --- a/microsoft-excel/microsoft-excel-quiz.md +++ b/microsoft-excel/microsoft-excel-quiz.md @@ -423,3 +423,10 @@ - [ ] 43740.665218 - [ ] 43740 - [x] 665218 + +#### Q57. Cell A2 contains the value 8 and cell B2 contains the value 9. What happens when cells A2 and B2 are merged and then unmerged? + +- [ ] Both values are lost. +- [x] Cell A2 contains the value 8 and cell B2 is empty. +- [ ] Cell A2 contains the value 8 and cell B2 contains the value 9. +- [ ] Cell A2 contains the value 17 and cell B2 is empty. diff --git a/microsoft-outlook/microsoft-outlook-quiz.md b/microsoft-outlook/microsoft-outlook-quiz.md index 5f6214f185..bf58fd0e51 100644 --- a/microsoft-outlook/microsoft-outlook-quiz.md +++ b/microsoft-outlook/microsoft-outlook-quiz.md @@ -9,7 +9,7 @@ #### 2. What is the default permission that other people in your organization have to your calendar? -- [x] none of these answers +- [x] They can view free/busy details only. - [ ] They can edit. - [ ] They can view all details. - [ ] They can view titles and locations. diff --git a/microsoft-power-bi/microsoft-power-bi-quiz.md b/microsoft-power-bi/microsoft-power-bi-quiz.md index c98fb904ad..d7258aaf5e 100755 --- a/microsoft-power-bi/microsoft-power-bi-quiz.md +++ b/microsoft-power-bi/microsoft-power-bi-quiz.md @@ -330,3 +330,17 @@ D. They must have no duplicate data rows. - [x] All of these tasks can be done with drag and drop. - [ ] Create a new visualization. - [ ] Rearrange and resize visualizations. + +#### Q43. In general, what is the best way to shape your data for Power BI? + +- [x] User a star schema. +- [ ] Load all tables from the data source. +- [ ] all of these answers +- [ ] Include multiple objects in each data table. + +#### Q44. You can optionally include a filter in which DAX function? + +- [x] CALCULATE +- [ ] SUM +- [ ] PICARD +- [ ] COMPARE diff --git a/microsoft-power-point/microsoft-power-point-quiz.md b/microsoft-power-point/microsoft-power-point-quiz.md index b8e0ec6f61..d9f51ff86d 100755 --- a/microsoft-power-point/microsoft-power-point-quiz.md +++ b/microsoft-power-point/microsoft-power-point-quiz.md @@ -333,3 +333,17 @@ Personal Hint: There are multiple file suffixes for templates (.potx, .potm, .po - [ ] Select the icon in a SmartArt Icon Diagram. - [ ] Select Insert Icon and place it on top of the SmartArt Diagram. - [ ] Select a SmartArt shape and select Insert Icon. + +#### Q44. You are having trouble playing back a presentation smoothly. What should you do? + +- [ ] Copy the presentation to your internal hard drive. +- [ ] Clear the **Disable hardware graphics acceleration** option. +- [x] all of these answers +- [ ] Select the **Show without animation** option. + +#### Q45. Which feature lets you configure multiple combinations of specific slides for playback from a larger slideshow? + +- [ ] Record Slide Show +- [ ] Rehearse Timings +- [x] Custom Slide Show +- [ ] Hide Slide diff --git a/microsoft-project/microsoft-project-quiz.md b/microsoft-project/microsoft-project-quiz.md index ae38919efa..96b4c464f3 100755 --- a/microsoft-project/microsoft-project-quiz.md +++ b/microsoft-project/microsoft-project-quiz.md @@ -310,3 +310,17 @@ - [ ] duration - [ ] work breakdown structure - [ ] task assignment + +#### Q42. A resource's hours have increased over the span of five days for a particular task. The duration has not changed, and the task is effort driven. What element can you add to the Task Usage view to see what has changed? + +- [ ] Add a column for the actual duration. +- [ ] Add a column for the level assignments. +- [x] Add a column for the Peak value. +- [ ] Add a column for the assignment. + +#### Q43. You are modifying a project's work breakdown structure (WBS) code. What is the default length for any selected sequence type? + +- [x] any +- [ ] 5 +- [ ] 3 +- [ ] 1 diff --git a/mongodb/mongodb-quiz.md b/mongodb/mongodb-quiz.md index 4a1d9d6147..c1e4cfba52 100755 --- a/mongodb/mongodb-quiz.md +++ b/mongodb/mongodb-quiz.md @@ -447,3 +447,17 @@ - [ ] `db.members.aggregate([ {$match: {gender: "Female"}}, {$group: {_id: {city: "$city"}, number:{$sum:1}}}, {$sort: {number:-1}}]).explain("executionStats")` - [ ] `db.members.aggregate([ {$match: {gender: "Female"}}, {$group:{_id: {city: "$city"}, number: {$sum: 1}}}, {$sort: {number: -1}}]).explain()` - [ ] `db.members.aggregate([ {$match: {gender: """Female"""}}, {$group: {_id: {city: """$city"""}, number: {$sum:1}}}, {$sort: {number: -1}}]).number()` + +#### Q65. From the MongoDB shell, how do you execute a JavaScript file named list.js? + +- [ ] node 'list.js' +- [ ] exec('list.js) +- [ ] run('list.js) +- [x] load('list.js) + +#### Q66. Which MongoDB shell query will sort the customer's collection by name descending? + +- [ ] db.customers.sort({name: -1}.find({}) +- [ ] db.customers.sort({name: -1}) +- [x] db.customers.find({}).sort({name: -1}) +- [ ] db.customers.find({}).sort({name: 1}) diff --git a/mysql/images/mysql_q80.png b/mysql/images/mysql_q80.png new file mode 100755 index 0000000000..93e22f5d14 Binary files /dev/null and b/mysql/images/mysql_q80.png differ diff --git a/mysql/mysql-quiz.md b/mysql/mysql-quiz.md index c82e80ef9f..3aa01e7c4e 100755 --- a/mysql/mysql-quiz.md +++ b/mysql/mysql-quiz.md @@ -406,12 +406,12 @@ - [ ] insert into - [x] show create table -#### Q46. you need to make your mysql system secure against hackers. What are you not supposed to do? +#### Q46. you need to make your mysql system secure against attackers. What are you _not_ supposed to do? -- [ ] Run the server as normal user -- [x] grant process or super privilege to other user -- [ ] run the server as the unix root user -- [ ] use the compressed protocol +- [ ] Run MySQL server as a normal user. +- [ ] Grant PROCESS or SUPER privilege to other users. +- [x] Run MySQL server as the unix root user. +- [ ] Use the compressed protocol. #### Q47. You manage a database with a table "customers". You created a temporary table also called "customers" with which you are working for the duration of your session. You need to recreate the temporary table with different specs. Which command do you need to run first? @@ -764,3 +764,12 @@ WHERE MATCH(address) AGAINST ('street, drive'); 7 PRIMARY KEY (employeeID) ’8 ); ``` + +#### Q80. In the diagram below, the price field is declared as type DECIMAL. What would be a more efficient declaration for this field? + +![mysql picture](images/mysql_q80.png) + +- [ ] FLOAT +- [x] DECIMAL(10,2) +- [ ] NUMERIC +- [ ] DOUBLE diff --git a/node.js/node.js-quiz.md b/node.js/node.js-quiz.md index 1addf9f568..efcbdaf484 100755 --- a/node.js/node.js-quiz.md +++ b/node.js/node.js-quiz.md @@ -257,107 +257,121 @@ fs.appendFile('hello.txt', `Hello ${user} on ${system}`, (err) => { if (err) thr - [ ] undefined - [x] an object representing an array that has five elements -### Q33. Which choice is not a valid method on event emitters? +#### Q33. Which choice is not a valid method on event emitters? - [x] start - [ ] on - [ ] once - [ ] off -### Q34. Which special object is an instance of EventEmitter?Which special object is an instance of null? +#### Q34. Which special object is an instance of EventEmitter?Which special object is an instance of null? - [ ] process - [ ] Buffer - [ ] root - [x] require -### Q35. What is the command to get a list of available commands for Node.js?What is the command to get a list of available commands for Node.js? +#### Q35. What is the command to get a list of available commands for Node.js?What is the command to get a list of available commands for Node.js? - [ ] node index.js -x - [ ] node -v - [x] node -h - [ ] node index.js -h -### Q36. When a request event is received in the HTTP module, what is the type of the first argument passed to that event, usually named req? +#### Q36. When a request event is received in the HTTP module, what is the type of the first argument passed to that event, usually named req? - [x] http.IncomingMessage - [ ] http.ServerRequest - [ ] http.ClientRequest - [ ] http.ServerResponse -### Q37. What are the arguments passed to the module wrapper function? +#### Q37. What are the arguments passed to the module wrapper function? - [ ] exports, **filename, **dirname - [ ] exports, process, require, module, **filename, **dirname - [ ] exports, module, **filename, **dirname - [x] exports, require, module, **filename, **dirname -### Q38. Which library provides Node.js with the event loop? +#### Q38. Which library provides Node.js with the event loop? - [ ] V8 - [ ] c-ares - [x] libuv - [ ] events -### Q39. What does the .node file extension represent? +#### Q39. What does the .node file extension represent? - [ ] a C++ file that can have a .node extension and that Node will be able to execute directly. - [x] a C++ Addon file that is built with node-gyp - [ ] a JSON file that can have a .node extension as well as the .json extension - [ ] a JavaScript file that can have a .node extension as well as the .js extension -### Q40. What can you export with module.exports? +#### Q40. What can you export with module.exports? - [ ] only objects. - [ ] only functions - [ ] only variables and arrays - [x] functions, objects, arrays, or anything you assign to the module -### Q41. Which core module in Node can you use to take advantage of multicore systems? +#### Q41. Which core module in Node can you use to take advantage of multicore systems? - [ ] os - [ ] util - [x] cluster - [ ] net -### Q42. Which core Node module has wrappers for OpenSSL methods? +#### Q42. Which core Node module has wrappers for OpenSSL methods? - [ ] SSL - [ ] hash - [x] crypto - [ ] TLS -### Q43. Which line imports a promise-based version of the readFile method? +#### Q43. Which line imports a promise-based version of the readFile method? - [x] const { readFile } = require(fs).promises - [ ] const { readFile } = require(fs) - [ ] const { readFilePromises: readFile } = require(fs) - [ ] const { readFile } = require(promises) -### Q44. According to the rules of semantic versioning, what does a release incrementing the third number in an npm version string communicate to users about the release changes? +#### Q44. According to the rules of semantic versioning, what does a release incrementing the third number in an npm version string communicate to users about the release changes? - [ ] Changes are not backwards compatible. - [ ] Changes might not be backward compatible and might break existing code. - [x] Changes are just bug fixes and no new features were added. - [ ] Changes will add new functionality but will not break any existing code. -### Q45. What does REPL stand for? +#### Q45. What does REPL stand for? - [ ] run, examine, put, loop - [x] read, eval, print, loop - [ ] run, edit, print, loop - [ ] read, extend, print, loop -### Q46. Which file does node-gyp use to read the build configuration of module ? +#### Q46. Which file does node-gyp use to read the build configuration of module ? - [ ] .gyprc - [x] binding.gyp - [ ] gyp.json - [ ] package.gyp -### Q47. Which core module in Node can you use for testing? +#### Q47. Which core module in Node can you use for testing? - [ ] chai - [ ] jest - [x] assert - [ ] mocha + +#### Q48. Which core module in Node provides an API to register callbacks to track asynchronous resources created inside a Node.js application? + +- [ ] cluster +- [x] async_hooks +- [ ] dgram +- [ ] inspector + +#### Q49. Which Node.js module should you use when you need to decode raw data into strings? + +- [ ] buffer +- [ ] util +- [x] string_decoder +- [ ] string_buffer diff --git a/nosql/nosql-quiz.md b/nosql/nosql-quiz.md index ce9b67e7f3..51e0cef7e9 100755 --- a/nosql/nosql-quiz.md +++ b/nosql/nosql-quiz.md @@ -399,3 +399,17 @@ MATCH (t:Technology)-[:LIKES]-(a:Person {name: 'Jennifer'}) RETURN t.type; - [ ] A graph database - [ ] A key-value database - [ ] A columnstore database + +#### Q54. You need to create a data store for the catalog for your new ecommerce application. Your company is a startup, so the catalog schema may evolve. Which do you choose? + +- [ ] Neo4j +- [ ] Redis +- [ ] MySQL +- [x] MongoDB + +#### Q55. You need to select a NoSQL database for heavy aggregate query workloads. Which type do you choose? + +- [ ] graph +- [ ] key-value +- [ ] document +- [x] columnstore diff --git a/objective-c/objective-c-quiz.md b/objective-c/objective-c-quiz.md index ebca784976..9dc85e53f8 100755 --- a/objective-c/objective-c-quiz.md +++ b/objective-c/objective-c-quiz.md @@ -358,3 +358,27 @@ foo(5); - [ ] strong - [ ] weak - [x] atomic + +#### Q36. What is wrong with this line of code? + +``` +int temp = 1==1; +``` + +- [ ] `temp` is a keyword. +- [ ] 1==1 is invalid. +- [ ] 1==1 evaluates to a Boolean. +- [x] Nothing is wrong with it. + +#### Q37. What is special about the code within this block? + +``` +dispatch_async(dispatch_get_main_queue(), ^{ +// code +}); +``` + +- [x] It executes on the main queue. +- [ ] It is the last code to run before the app goes inactive. +- [ ] It executes on a background thread. +- [ ] It is queued to execute in the background. diff --git a/oop/object-oriented-programming-quiz.md b/oop/object-oriented-programming-quiz.md index ec1fb81ef2..6234b3be10 100755 --- a/oop/object-oriented-programming-quiz.md +++ b/oop/object-oriented-programming-quiz.md @@ -292,10 +292,10 @@ _NOTE_: Hybrid inheritance is a composition of multiple and hierarchical inherit #### Q38. Which is false for a member function of a class? -- [ ] they can be defined only inside or outside the class body -- [ ] the can be made to be friends of another class -- [x] they do not need to be declared inside the class definition -- [ ] they need to be defined +- [ ] Member functions can be defined only inside or outside the class body. +- [ ] Member functions can be made to be friends of another class. +- [x] Member functions do not need to be declared inside the class definition. +- [ ] All member functions need to be defined. #### Q39. Why is inheritance used when creating a new class? diff --git a/php/php-quiz.md b/php/php-quiz.md index 511a0347f0..fa97ca1ebc 100755 --- a/php/php-quiz.md +++ b/php/php-quiz.md @@ -573,3 +573,40 @@ isset($_POST['submit']) - [ ] Getters and setters are utility functions within PHP that allow loading from, and saving to, a database - [ ] Getters and setters encapsulate the fields of a class by making them acccessible only through its private methods, and keep the values themselves public - [x] Getters and setters are methods used to declare or obtain the values of variables, usually private ones + +#### Q52. What are the recommended settings in the PHP configuration file, php.ini, for a testing environment? + +- [ ] + +``` +report_errors = E_ALL +display_errors = On +``` + +- [x] + +``` +error_reporting = E_ALL +display_errors = On +``` + +- [ ] + +``` +error_reporting = E_ALL & ~E_NOTICE +display_errors = Off +``` + +- [ ] + +``` +error_reporting = E_ALL & ~E_NOTICE +display_errors = On +``` + +#### Q53. Which PHP variable name is invalid? + +- [ ] $Double +- [ ] $double +- [ ] $\_2times +- [x] $2times diff --git a/python/python-quiz.md b/python/python-quiz.md index 11fc439c8c..b78a92b109 100755 --- a/python/python-quiz.md +++ b/python/python-quiz.md @@ -246,6 +246,8 @@ else: print("There is no one in the pool.") ``` +Also see Question 85 for the same question with different answers. + #### Q20. Which statement does NOT describe the object-oriented programming concept of encapsulation? - [ ] It protects the data from outside interference. @@ -255,10 +257,10 @@ else: #### Q21. What is the purpose of an if/else statement? -- [ ] An if/else statement tells the computer which chunk of code to run if the instructions you coded are incorrect -- [ ] An if/else statement runs one chunk of code if all the imports were successful, and another chunk of code if the imports were not successful -- [x] An if/else statement executes one chunk of code if a condition it true, but a different chunk of code if the condition is false -- [ ] An if/else statement tells the computer which chunk of code to run if the is enough memory to handle it. and which chunk of code to run if there is not enough memory to handle it +- [ ] It tells the computer which chunk of code to run if the instructions you coded are incorrect. +- [ ] It runs one chunk of code if all the imports were successful, and another chunk of code if the imports were not successful. +- [x] It executes one chunk of code if a condition is true, but a different chunk of code if the condition is false. +- [ ] It tells the computer which chunk of code to run if the is enough memory to handle it, and which chunk of code to run if there is not enough memory to handle it. #### Q22. What built-in Python data type is commonly used to represent a queue? @@ -990,3 +992,57 @@ def self.get_next_card(self): - [ ] A queue adds items to the top and removes items from the top. - [ ] A queue adds items to the top, and removes items from anywhere in, a list. - [ ] A queue adds items to the top and removes items from anywhere in the queue. + +#### Q85. Which choice is the most syntactically correct example of the conditional branching? + +- [x] + +```python +num_people = 5 + +if num_people > 10: + print("There is a lot of people in the pool.") +elif num_people > 4: + print("There are some people in the pool.") +else: + print("There is no one in the pool.") +``` + +- [ ] + +```python +num_people = 5 + +if num_people > 10: + print("There is a lot of people in the pool.") +if num_people > 4: + print("There are some people in the pool.") +else: + print("There is no one in the pool.") +``` + +- [ ] + +```python +num_people = 5 + +if num_people > 10; + print("There is a lot of people in the pool.") +elif num_people > 4; + print("There are some people in the pool.") +else; + print("There is no one in the pool.") +``` + +- [ ] + +```python +if num_people > 10; + print("There is a lot of people in the pool.") +if num_people > 4; + print("There are some people in the pool.") +else; + print("There is no one in the pool.") +``` + +This question seems to be an updated version of Question 19. diff --git a/quickbooks/quickbooks-quiz.md b/quickbooks/quickbooks-quiz.md index 04d39529ee..e0ef295cd4 100644 --- a/quickbooks/quickbooks-quiz.md +++ b/quickbooks/quickbooks-quiz.md @@ -12,7 +12,7 @@ - [ ] rent - [ ] accounting fees - [ ] legal services -- [ ] sales taxes +- [x] sales taxes #### Q3. What is the easiest way to set up multiple companies, with the same owner, in QuickBooks? @@ -321,3 +321,10 @@ - [ ] Adds net profit to an Owner's or Shareholder's Equity account. - [ ] Adds net profit to Stockholder's Equity. - [ ] Adds net profit to Retained Earnings. + +#### Q47. Where does QuickBooks get the billable time and costs information when you invoice for time and costs? + +- [ ] from the billable costs uploaded from an Excel workbook +- [ ] from the billable time entered on timesheets +- [ ] from you manually entering the line items on the invoice +- [x] from the billable time entered on timesheets and/or billable costs entered through checks and bills diff --git a/r/r-quiz.md b/r/r-quiz.md index 48b1235d94..7e387cf5a1 100755 --- a/r/r-quiz.md +++ b/r/r-quiz.md @@ -2,9 +2,9 @@ #### Q1. How does a matrix differ from a data frame? -- [x] A matrix may contain numeric values only. +- [ ] A matrix may contain numeric values only. - [ ] A matrix must not be singular. -- [ ] A data frame may contain variables that have different modes. +- [x] A data frame may contain variables that have different modes. - [ ] A data frame may contain variables of different lengths. #### Q2. What value does this statement return? diff --git a/react/reactjs-quiz.md b/react/reactjs-quiz.md index 1fe95290d4..d56923c379 100755 --- a/react/reactjs-quiz.md +++ b/react/reactjs-quiz.md @@ -679,43 +679,51 @@ useEffect(() => { ``` -- [ ] ````````javascript - ( - - {' '} - - - )``` - ```` - `````; - ``````; - ``````` - ```````` -- [ ] ````````javascript - ()``` - ```` - `````; - ``````; - ``````` - ```````` -- [ ] ````````javascript - ()``` - ```` - `````; - ``````; - ``````` - ```````` -- [ ] ````````javascript - ( - - - - )``` - ```` - `````; - ``````; - ``````` - ```````` +- [ ] ``````````javascript + ( + + {' '} + + + )``` + ```` + `````; + ``````; + ``````` + ```````` + `````````; + `````````` +- [ ] ``````````javascript + ()``` + ```` + `````; + ``````; + ``````` + ```````` + `````````; + `````````` +- [ ] ``````````javascript + ()``` + ```` + `````; + ``````; + ``````` + ```````` + `````````; + `````````` +- [ ] ``````````javascript + ( + + + + )``` + ```` + `````; + ``````; + ``````` + ```````` + `````````; + `````````` #### Q65. Which class-based component is equivalent to this function component? @@ -723,44 +731,52 @@ useEffect(() => { const Greeting ({ name }) >

    Hello {name}!

    ; ``` -- [ ] ````````javascript - class Greeting extends React.Component { - constructor() { - return

    Hello (this.props.name)!

    ; - } - } - ``` - ```` - `````; - ``````; - ``````` - ```````` -- [ ] ````````javascript - class Greeting extends React.Component {

    Hello (this.props.name}!

    ; } - ``` - ```` - ````` - `````` - ``````` - ```````` -- [ ] ````````javascript - class Greeting extends React.Component { return

    Hello (this.props.name) 1

    ; } - ``` - ```` - ````` - `````` - ``````` - ```````` -- [ ] ````````javascript - class Greeting extends React.Component ( render({ name }) { - return

    Hello (name)} !

    ; - }) - ``` - ```` - ````` - `````` - ``````` - ```````` +- [ ] ``````````javascript + class Greeting extends React.Component { + constructor() { + return

    Hello (this.props.name)!

    ; + } + } + ``` + ```` + `````; + ``````; + ``````` + ```````` + `````````; + `````````` +- [ ] ``````````javascript + class Greeting extends React.Component {

    Hello (this.props.name}!

    ; } + ``` + ```` + ````` + `````` + ``````` + ```````` + ````````` + `````````` +- [ ] ``````````javascript + class Greeting extends React.Component { return

    Hello (this.props.name) 1

    ; } + ``` + ```` + ````` + `````` + ``````` + ```````` + ````````` + `````````` +- [ ] ``````````javascript + class Greeting extends React.Component ( render({ name }) { + return

    Hello (name)} !

    ; + }) + ``` + ```` + ````` + `````` + ``````` + ```````` + ````````` + `````````` #### Q66. Give the code below, what does the second argument that is sent to the render function describe? @@ -829,3 +845,20 @@ ReactDOM.render( - [ ] the order in which this element should be placed on the page - [ ] the properties of the element - [ ] data that should be displayed in the element. + +#### Q72. What is the name of this component? + +```javascript +class Comp extends React.Component { + render() { + return

    Look at the time: {time}

    ; + } +} +``` + +- [x] Comp +- [ ] h1 +- [ ] React.Component +- [ ] Component + +This question might be an updated version of Q37. diff --git a/rest-api/rest-api-quiz.md b/rest-api/rest-api-quiz.md index ce709cb353..aba7304796 100755 --- a/rest-api/rest-api-quiz.md +++ b/rest-api/rest-api-quiz.md @@ -371,3 +371,17 @@ - [x] `201` - [ ] `204` - [ ] `202` + +#### Q54. Which is an example of Code on Demand? + +- [ ] AWS Lambda +- [ ] downloading open-source software +- [ ] Serverless +- [x] JavaScript on a webpage + +#### Q55. Which URL pattern should you follow for accessing a subresource attached to a specific resource? + +- [ ] /companies/employees/{companyId}/{employeeId} +- [ ] /company/{companyId}/employees/{employeeId} +- [x] /companies/{companyId}/employees/{employeeId} +- [ ] /companies/{companyId}/employee/{employeeId} diff --git a/ruby-on-rails/ruby-on-rails-quiz.md b/ruby-on-rails/ruby-on-rails-quiz.md index 0e89778993..7fa35d6d77 100755 --- a/ruby-on-rails/ruby-on-rails-quiz.md +++ b/ruby-on-rails/ruby-on-rails-quiz.md @@ -632,3 +632,17 @@ link_to('Link', {controller: 'products', action: 'index', page: 3}) - [x] controller - [ ] ActiveRecord - [ ] model + +#### Q49. If User is an ActiveRecord class, which choice would be expected to return an array? + +- [x] User.where(last_name: 'Smith') +- [ ] User.find_or_create(last_name: 'Smith') +- [ ] User.find_by_last_name('Smith') +- [ ] User.find('Smith') + +#### Q50. Which choice is not a valid Rails route? + +- [x] route "products/index", to: "products/index", via: :get +- [ ] match "products/index", to: "products#index", via: :get +- [ ] root "products/index" +- [ ] get "products/index" diff --git a/scala/scala-quiz.md b/scala/scala-quiz.md index 3aed9c25a9..f7664cdc6e 100755 --- a/scala/scala-quiz.md +++ b/scala/scala-quiz.md @@ -299,3 +299,17 @@ myClass.foreach(println _) - [ ] assertion - [x] trait - [ ] monad + +#### Q39. When do you need to explicitly state the return type in a function definition? + +- [ ] when the function has no side effects +- [ ] when the function returns a Unit type +- [x] when the function is recursive +- [ ] when the function has side effects + +#### Q40. Why would you make a field private? + +- [ ] so only methods in the same file can access the field +- [ ] so only methods in the same package can access the field +- [x] so only methods in the same class could access the field +- [ ] so only methods defined in a Java class can access the field diff --git a/seo/search-engine-optimization-quiz.md b/seo/search-engine-optimization-quiz.md index a6c708e3b1..2800421565 100755 --- a/seo/search-engine-optimization-quiz.md +++ b/seo/search-engine-optimization-quiz.md @@ -51,26 +51,30 @@ #### Q8. You want to block crawlers from accessing your entire website. What robots.txt entry would you use? -- [ ] ````markdown - User-agent: Allbots - Disallow: \* - ``` - ```` -- [ ] ````markdown - User-agent: / - Disallow: \* - ``` - ```` -- [ ] ````markdown - User-agent: / - Disallow: - ``` - ```` -- [x] ````markdown - User-agent: \* - Disallow: / - ``` - ```` +- [ ] `````markdown + User-agent: Allbots + Disallow: \* + ``` + ```` + ````` +- [ ] `````markdown + User-agent: / + Disallow: \* + ``` + ```` + ````` +- [ ] `````markdown + User-agent: / + Disallow: + ``` + ```` + ````` +- [x] `````markdown + User-agent: \* + Disallow: / + ``` + ```` + ````` #### Q9. Which results is most likely if you use an interstitial pop-up that requires a user to take action before you load the content of the page? @@ -138,42 +142,46 @@ #### Q18. Which choice represents the best header structure? -- [ ] ````markdown - H1: How to Bak Bagels - H2: Ingredients - H3: Dry Ingredients - H4: Wet Ingredients - H2: Instructions - H6: Reviews - ``` - ```` -- [ ] ````markdown - H1: How to Bak Bagels - H1: Ingredients - H1: Dry Ingredients - H1: Wet Ingredients - H1: Instructions - H2: Reviews - ``` - ```` -- [ ] ````markdown - H1: How to Bak Bagels - H2: Ingredients - H3: Dry Ingredients - H3: Wet Ingredients - H2: Instructions - H2: Reviews - ``` - ```` -- [x] ````markdown - H1: How to Bak Bagels - H2: Ingredients - H4: Dry Ingredients - H5: Wet Ingredients - H6: Instructions - H1: Reviews - ``` - ```` +- [ ] `````markdown + H1: How to Bak Bagels + H2: Ingredients + H3: Dry Ingredients + H4: Wet Ingredients + H2: Instructions + H6: Reviews + ``` + ```` + ````` +- [ ] `````markdown + H1: How to Bak Bagels + H1: Ingredients + H1: Dry Ingredients + H1: Wet Ingredients + H1: Instructions + H2: Reviews + ``` + ```` + ````` +- [ ] `````markdown + H1: How to Bak Bagels + H2: Ingredients + H3: Dry Ingredients + H3: Wet Ingredients + H2: Instructions + H2: Reviews + ``` + ```` + ````` +- [x] `````markdown + H1: How to Bak Bagels + H2: Ingredients + H4: Dry Ingredients + H5: Wet Ingredients + H6: Instructions + H1: Reviews + ``` + ```` + ````` #### Q19. All byline dates articles are suddenly no longer visible on a website's listing within Google Search. Assuming no changes have been made to the site programming or content, what is the most likely cause? @@ -369,26 +377,30 @@ #### Q44. You want to block crwlers from accessing your entire website. What robots.txt entry would you use? -- [ ] ```` - User-agent: Allbots - Disallow: * - ``` - ```` -- [ ] ```` - User-agent: / - Disallow: * - ``` - ```` -- [ ] ```` - User-agent: * - Disallow: - ``` - ```` -- [x] ```` - User-agent: * - Disallow: / - ``` - ```` +- [ ] ````` + User-agent: Allbots + Disallow: * + ``` + ```` + ````` +- [ ] ````` + User-agent: / + Disallow: * + ``` + ```` + ````` +- [ ] ````` + User-agent: * + Disallow: + ``` + ```` + ````` +- [x] ````` + User-agent: * + Disallow: / + ``` + ```` + ````` #### Q45. What is the relationship of click depth to PageRank? @@ -424,3 +436,17 @@ - [ ] Do not use site search. - [ ] Set site search to 404. - [ ] Add a canonical from the search result page to the home page. + +#### Q50. What might help a search engine understand the difference between an article on a dog bark versus tree bark? + +- [ ] tertiary analysis +- [ ] ranked choice trees +- [x] semantic analysis +- [ ] knowledge graphs + +#### Q51. A webpage has this tag: `Brad's Bagels: How to Bake a Bagel`. However, the Google search result for this page displays this title: _Brad's Bagels: Baking Bagels in the Oven_. What is a likely explanation? + +- [ ] The title tag was placed within the section of the webpage, but not before the meta content tags, so Google cannot identify the actual title. +- [ ] The page is using structured data to define an alternative title object, which allows the search engine to pick a preferable version. +- [ ] A breadcrumb navigation is in use, which overrides the title tag supplied in the HTML. +- [x] Google generated a new title using text on the page that more closely matched the search query. diff --git a/sharepoint/sharepoint-quiz.md b/sharepoint/sharepoint-quiz.md index 0ff2b5fa76..1e54649189 100755 --- a/sharepoint/sharepoint-quiz.md +++ b/sharepoint/sharepoint-quiz.md @@ -272,3 +272,40 @@ - [ ] document template - [ ] versioning - [ ] audience targeting + +#### Q35. A SharePoint site document library has become disorganized with numerous folders. How can you disable folder creation without modifying any permissions? + +- [x] + +``` +1. Library Settings +2. Advanced Settings +``` + +- [ ] + +``` +1. Site Settings +2. Manage Site Features +``` + +- [ ] + +``` +1. Library Settings +2. Audience Targeting Settings +``` + +- [ ] + +``` +1. Site Settings +2. Site App Permissions +``` + +#### Q36. SharePoint lists and libraries have similarities. What differentiates a library from a list? + +- [ ] Unlike a library, each column in a list contains data. +- [x] Unlike a list, each item in a library contains a file. +- [ ] Unlike a library, each item in a list contains a document. +- [ ] Unlike a list, each column in a library contains data. diff --git a/solidworks/images/solidworks_q3.jpg b/solidworks/images/solidworks_q3.jpg new file mode 100755 index 0000000000..718fa421b1 Binary files /dev/null and b/solidworks/images/solidworks_q3.jpg differ diff --git a/solidworks/solidworks-quiz.md b/solidworks/solidworks-quiz.md index b068b28321..b13e321f26 100644 --- a/solidworks/solidworks-quiz.md +++ b/solidworks/solidworks-quiz.md @@ -6,3 +6,19 @@ - [ ] SOLIDWORKS composer file - [ ] SOLIDWORKS part file - [ ] SOLIDWORKS sheet format + +#### Q2. You need to design a steel spring with a pitch diameter of 3 inches, free length of 10 inches, and pitch of 1 inch. How would you accomplish this in SOLIDWORKS? + +- [ ] Create a new sketch of a circle with a diameter of 1 inch. Then use the Helix/Spiral curve command and define a height of 10 inches and pitch of 3 inches. +- [x] Create a new sketch of a circle with a diameter of 3 inches. Then use the Helix/Spiral curve command to define a height of 10 inches and pitch of 1 inch. +- [ ] First, create a new sketch of a circle of 10 inches. Then use the Helix/Spiral curve command and define by pitch of 1 inch and 3 revolutions. +- [ ] Use the Helix/Spiral curve command and define a diameter of 3 inches, height of 10 inches, and pitch of 1 inch. + +#### Q3. Which single feature could you use to create this image? + +![solidworks image](images/solidworks_q3.jpg) + +- [ ] Loft +- [ ] Extruded Boss/Base +- [x] Sweep +- [ ] Revolved Boss/Base diff --git a/spring-framework/spring-framework-quiz.md b/spring-framework/spring-framework-quiz.md index a2fa712fb8..af68209699 100644 --- a/spring-framework/spring-framework-quiz.md +++ b/spring-framework/spring-framework-quiz.md @@ -367,3 +367,17 @@ private String val; @Value("${my.property}") private String val; ``` + +#### Q42. What is a bean in the context of Spring? + +- [x] a managed dependency defined by configuration metadata that can be injected into downstream classes +- [ ] a binary-encoded, agnostic, named entity that is translatable between different data formats +- [ ] a payload that is transferable between different services in a Service-Oriented Architecture (SOA) +- [ ] a discrete piece of data that is encoded in a binary format for persisting to a file system + +#### Q43. Which property is given precedence by Spring? + +- [ ] application properties located in an application.properties file outside the application.jar +- [ ] @PropertySource annotations on configuration classes +- [x] profile-specific application-{profile}.properties files +- [ ] application properties located in an application.properties file inside the application.jar diff --git a/unity/unity-quiz.md b/unity/unity-quiz.md index d845699f75..6cb87406cc 100755 --- a/unity/unity-quiz.md +++ b/unity/unity-quiz.md @@ -176,7 +176,7 @@ #### Q25. Every time you double-click a C# script file from the Project window, Unity prints the message below (or something very similar) to the console. What is a reasonable step in trying to solve this? Cannot start process because a file name has not been provided - [ ] Search the Project windows for all script files and then rename all of them -- [ ] Set Visual Studio as the code default editor via the External Tools tab of the Preferences menu +- [x] Set Visual Studio as the code default editor via the External Tools tab of the Preferences menu - [ ] Ensure you have specified a Play mode tint color from the Colors tab of the Preferences menu - [ ] Select the Script file, and then select Assets > Find references in Scene from the Application menu @@ -185,7 +185,7 @@ - [ ] Viewing and editing text files - [ ] Downloading data packets and asset packages - [ ] Typing and executing command line instructions through a shell interface -- [ ] Identifying errors in your script files and project +- [x] Identifying errors in your script files and project #### Q27. Sprite atlas assets, large textures containing many smaller sprites, can be optimized by batching together what? diff --git a/vba/vba-quiz.md b/vba/vba-quiz.md index 0d5ace8ce5..5e5d2a27e7 100644 --- a/vba/vba-quiz.md +++ b/vba/vba-quiz.md @@ -13,10 +13,33 @@ Sub ShowVitals() End Sub ``` -- [ ] id=5 Age = 20 Weight= ID=6 Age = 25 Weight=130 -- [ ] id=5 Age = 20 Weight=0 ID=6 Age = 25 Weight=130 -- [ ] id=5 Age = 20 Weight=Null ID=6 Age = 25 Weight=130 -- [ ] id=5 Age = 20 ID=6 Age = 25 Weight=130 +- [ ] + +``` +ID=5 Age = 20 Weight= +ID=6 Age = 25 Weight=130 +``` + +- [x] + +``` +ID=5 Age = 20 Weight=0 +ID=6 Age = 25 Weight=130 +``` + +- [ ] + +``` +ID=5 Age = 20 Weight=Null +ID=6 Age = 25 Weight=130 +``` + +- [ ] + +``` +ID=5 Age = 20 +ID=6 Age = 25 Weight=130 +``` #### Q2. This code shows the first statement of CalledSub. Which calling statement will work properly? @@ -25,7 +48,7 @@ End Sub - [ ] call Calledsub "smith",26 - [ ] calledsub (surname="smith", Age = 26) - [ ] calledsub (Surname:="Smith", Age:=26) -- [ ] calledsub "smith", 26 +- [x] calledsub "smith", 26 #### Q3. What is the principal difference between a class and an object? diff --git a/visio/visio-quiz.md b/visio/visio-quiz.md index 3857a5bcbb..6360e9e397 100644 --- a/visio/visio-quiz.md +++ b/visio/visio-quiz.md @@ -289,3 +289,17 @@ - [ ] Ctrl+W - [x] Ctrl+Shift+W - [ ] Esc + +#### Q33. What is the unique feature of rack equipment shapes that would lead you to think that the rack and the equipment shape have active connections points? + +- [x] They look like 2D shapes, yet behave like lines, dynamic connectors, and other one-dimensional shapes. +- [ ] They look like 3D shapes, yet behave like lines, dynamic connectors, and other two-dimensional shapes. +- [ ] They look like 2D shapes, yet behave like lines, dynamic connectors, and other three-dimensional shapes. +- [ ] They look like 3D shapes, yet behave like lines, dynamic connectors, and other one-dimensional shapes. + +#### Q34. Which file format does not give you the choice of saving a subset of your drawing pages into the format you want? + +- [ ] .html +- [x] .dwg +- [ ] .xps +- [ ] .pdf diff --git a/windows-server/windows-server-quiz.md b/windows-server/windows-server-quiz.md index 18177a6070..568afc5352 100755 --- a/windows-server/windows-server-quiz.md +++ b/windows-server/windows-server-quiz.md @@ -349,3 +349,17 @@ - [ ] BitLocker Drive Encryption Administration Utilities are not installed on the domain controller. - [ ] BitLocker Drive Encryption Tools are not installed on the domain controller. - [ ] BitLocker Drive Encryption Tools are not installed on the client computer. + +#### Q48. After running the PowerShell cmdlet Add-WindowsFeature Adcs-Cert-Authority -IncludeManagementTool on a Windows Server 2016 server, which command will make it a Root Certificate Authority (CA)? + +- [ ] Install-CertificationAuthority +- [ ] Install-CertificationAuthority -CAType RootCA +- [x] Install-AdcsCertificationAuthority -CAType EnterpriseRootCA +- [ ] Install-AdcsCertificationAuthority -CAType RootCA + +#### Q49. A set of computer and user settings can be applied to multiple clients and servers in a domain through the use of `___`. + +- [x] Group Policy Objects +- [ ] Microsoft Management Console +- [ ] Users and Groups +- [ ] Computer Objects diff --git a/wordpress/wordpress-quiz.md b/wordpress/wordpress-quiz.md index e8d2dded36..a2b303a55d 100755 --- a/wordpress/wordpress-quiz.md +++ b/wordpress/wordpress-quiz.md @@ -463,3 +463,17 @@ add_action( 'wp_enqueue_scripts', 'load_scripts' ); - [ ] disables the theme and plugin editor in the WordPress admin - [ ] disables the ability to edit core WordPress files from either within the WordPress admin or via direct file access - [ ] sets read-only permissions on all files in the WordPress install + +#### Q56. Which of the following must have underlined links in order to meet WCAG 2.0 accessibility standards? + +- [ ] links on images +- [ ] links in user interface controls +- [ ] links in a nav bar +- [x] links in paragraph text + +#### Q57. In which of the following ways might you contribute to the WordPress community by testing? + +- [ ] user testing +- [x] all of these answers +- [ ] beta testing +- [ ] automated testing diff --git a/xml/xml-quiz.md b/xml/xml-quiz.md index 5a6a55832b..06ea7fee6e 100755 --- a/xml/xml-quiz.md +++ b/xml/xml-quiz.md @@ -449,3 +449,88 @@ - [x] XML contains only data and not any processing instructions. - [ ] XML does not perform any computation or algorithms. - [ ] XML does not have specialized syntax rules. + +#### Q39. What is true about these elements in XQuery? + +```xml + + CadillacEscalade2007 + CadillacEscalade2011 + FordMustang1968 + FordMustang1998 + MercedesC-Class1999 + MercedesC-Class2009 + +``` + +- [ ] Elements and are ancestors of . +- [ ] Elements and are children of . +- [x] Elements and are siblings. +- [ ] Elements and are parents of and . + +#### Q40. Which is a valid CSS section for this XML code snippet? + +```xml + + CadillacEscalade2007 + FordMustang1968 + MercedesC-Class1999 + +``` + +- [ ] + +```css +cars { + display: block; +} +car(make), +car(model), +car(year) { + display: inline; + padding-top: 0.5em; +} +``` + +- [x] + +```css +car, +cars { + display: block; +} +make, +model, +year { + display: inline; + padding-top: 0.5em; +} +``` + +- [ ] + +```css +cars { + display: block; +} +car.make, +car.model, +car.year { + display: inline; + padding-top: 0.5em; +} +``` + +- [ ] + +```css +cars { + display: block; +} +car#make, +car#model, +car#year { + display: inline; + padding-top: 0.5em; +} +```