Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

What Is The Use Of Forceresize(width, Height) Actions On Images?

Answer»

It stretches the IMAGE as required IRRESPECTIVE of original RATIO.

It stretches the image as required irrespective of original ratio.

2.

What Is The Use Of Onblueprintcreated Event?

Answer»

This EVENT HELPS in PROCESSING and MANAGING FORMS.

This event helps in processing and managing forms.

3.

What Is The Use Of Bugs Property?

Answer»

It SPECIFIES the URL where ISSUES or BUGS can be REPORTED.

It specifies the Url where issues or bugs can be reported.

4.

What Is The Use Of Frontmatter Field?

Answer»

It is USED to DISPLAY the PAGE in RAW FORMAT.

It is used to display the page in raw format.

5.

Mention Any Five Special Form Fields?

Answer»

The special form fields are:

  1. MARKDOWN
  2. FRONTMATTER
  3. Selectize
  4. Taxonomy
  5. Toggle

The special form fields are:

6.

What Is The Use Of Sizes With Media Queries Action For Responsive Images?

Answer»

It add a SUFFIX to the FILENAME and you can add higher DENSITY IMAGE to the page.

It add a suffix to the filename and you can add higher density image to the page.

7.

What Are The Types Of Responsive Images?

Answer»

The few types of responsive IMAGES are:

The few types of responsive images are:

8.

What Is The Command To Flush The Cache?

Answer»

bin/grav clear-cache

bin/grav clear-cache

9.

Mention The Reasons That Cause Server Error?

Answer»

Some of the reasons that may CAUSE server error are:

  • Out-of-date CONFIGURATION.
  • Incorrect file permission.
  • Invalid formatted configuration FILES.
  • Changes in file SYSTEM not known to the Grav.

Some of the reasons that may cause server error are:

10.

Mention The Different Types Of Hosting Services Supported By Grav?

Answer»

GRAV SUPPORTS FOLLOWING HOSTING services:

  • Rochen Web Hosting
  • WireNine
  • Crucial Web Hosting
  • Arvixe
  • SiteGround
  • Dreamhost

Grav supports following hosting services:

11.

What Are The Basic Data Types Of Yaml?

Answer»

YAML supports some basic data types which can be used with PROGRAMMING languages such as:

YAML supports some basic data types which can be used with programming languages such as:

12.

What Is Grav Yaml Syntax?

Answer»

The YAML stands for YAML Ain't Markup Language which includes human readable CONTENT and often used in configuration files, blueprints (metadata information about resource) and PAGE SETTINGS.

The YAML stands for YAML Ain't Markup Language which includes human readable content and often used in configuration files, blueprints (metadata information about resource) and page settings.

13.

Which Are The Main Four Steps Of Grav Lifecycle?

Answer»

The main four steps of Grav lifecycle are:

The main four steps of Grav lifecycle are:

14.

What Is Grav Skeleton?

Answer»

The Grav skeleton describes a sample SITE which contains Grav Core, plugins, PAGES, theme all together. The initial idea behind Grav was to build site very easily. The THINGS need for developing a site, that all are placed in a user folder. The skeleton of Grav comes with various DEPENDENCIES such as plugins, theme etc and stored them in a package which can be unzipped to run the simple example.

The Grav skeleton describes a sample site which contains Grav Core, plugins, pages, theme all together. The initial idea behind Grav was to build site very easily. The things need for developing a site, that all are placed in a user folder. The skeleton of Grav comes with various dependencies such as plugins, theme etc and stored them in a package which can be unzipped to run the simple example.

15.

What Is The Self-upgrade Command Used To Upgrade The Grav To Latest Version?

Answer»

$ bin/gpm self-upgrade

$ bin/gpm self-upgrade

16.

What Is Grav Gpm?

Answer»

The GPM stands for Grav Package Manager which is used to install, UPDATE, UNINSTALL and list the available plugins on the Grav repository. GPM executes the COMMANDS USING command line interface such as terminal or CMD.

The GPM stands for Grav Package Manager which is used to install, update, uninstall and list the available plugins on the Grav repository. GPM executes the commands using command line interface such as terminal or cmd.

17.

What Is The Command To Update The Grav Composer Which Was Installed Via Github?

Answer»

$ bin/grav COMPOSER

$ bin/grav composer

18.

What Is Grav Cli?

Answer»

The CLI stands for command line interface STORED in bin/grav. It performs some TASKS such as clearing cache, CREATING backup copy ETC.

The CLI stands for command line interface stored in bin/grav. It performs some tasks such as clearing cache, creating backup copy etc.

19.

What Are The Types Of Caching?

Answer»

There are 5 types of caching:

  • YAML configuration caching into PHP.
  • Core Grav caching for page objects.
  • Twig caching of TEMPLATE FILES as PHP classes.
  • Image caching for MEDIA resources.
  • Asset caching of CSS and jQuery with PIPELINING.

There are 5 types of caching:

20.

What Is Grav Blueprints?

Answer»

Blueprints are METADATA information about the resource(SOURCE of information).

It serves TWO PURPOSES:

  • First is the resource identity itself.
  • Second is REGARDING the forms.

Blueprints are metadata information about the resource(source of information).

It serves two purposes:

21.

Mention The Features Of Grav Administration Panel Plugin?

Answer»

The features of Grav Administration Panel plugin are:

  • Enable or disable the plugins present in the plugin manager list.
  • It consist of FUNCTIONALITY of the forget password.
  • Media files can be uploaded by drag-n-drop method.
  • Allows editing VIA yaml or forms in normal and expert modes.
  • Automatic password ENCRYPTION FEATURE is provided during user LOGIN.

The features of Grav Administration Panel plugin are:

22.

What Is The Use Of Ontwigsitevariables Event?

Answer»

In this PROCESS, you will see the FULL site template in order WISE by TWIG methods. Further, you can add any variable to Twig during this process.

In this process, you will see the full site template in order wise by Twig methods. Further, you can add any variable to Twig during this process.

23.

What Is The Use Of Onfatalexception Event In The Grav Event Hooks?

Answer»

The Problem plugin uses this to manage displaying a list of full explanation, for why the GRAV delivers the FATAL error.

The Problem plugin uses this to manage displaying a list of full explanation, for why the grav delivers the fatal error.

24.

What Is Grav Event Hooks?

Answer»

The event hooks have a direct relationship with Grav from beginning to end. You MUST be aware of the ORDER in which the hooks are called and what is USABLE at the TIME of these CALLS.

The event hooks have a direct relationship with Grav from beginning to end. You must be aware of the order in which the hooks are called and what is usable at the time of these calls.

25.

Mention Some Important Points Of Random Plugin?

Answer»

The IMPORTANT points of random PLUGIN are:

  • You can use this plugin to DISPLAY the random page by using URI as /random.
  • Create the FILTER to make use of taxonomy specified in the pages. You can create as category : blog.
  • You can display the random page by using filter option and it informs Grav to use the same content for displaying in random page.

The important points of random plugin are:

26.

What Is Theme Inheritance?

Answer»

Theme Inheritance is the best way of modifying or customizing a theme and can be accomplished with few setups. The basic IDEA is that a theme is defined as base-theme that you are inheriting from, and only some BITS are ALLOWED to modify and REST of the things is handled by base theme. The advantage of using theme inheritance is, the customized inherited theme will not be DIRECTLY impacted whenever the base theme is updated.

Theme Inheritance is the best way of modifying or customizing a theme and can be accomplished with few setups. The basic idea is that a theme is defined as base-theme that you are inheriting from, and only some bits are allowed to modify and rest of the things is handled by base theme. The advantage of using theme inheritance is, the customized inherited theme will not be directly impacted whenever the base theme is updated.

27.

Which Command Is Used To Watch Updates In Scss Files?

Answer»

SCSS --WATCH scss:css-compiled

scss --watch scss:css-compiled

28.

What Are Grouped Assets?

Answer»

GROUPED ASSETS allows you to pass options ARRAY consisting of OPTIONAL GROUP while adding Assets. This feature is very useful when you need some JS files or inline JS at specific part of the page.

Grouped Assets allows you to pass options array consisting of optional group while adding Assets. This feature is very useful when you need some JS files or inline JS at specific part of the page.

29.

What Are Named Assets?

Answer»

GRAV allows you to register a collection of CSS and JS assets with a name, so that you can USE add assets to Asset MANAGER by using the REGISTERED name. This can be ACCOMPLISHED in Grav by using a feature called named assets. These custom collections are defined in system.yaml, so that it can be used by any theme or plugin.

Grav allows you to register a collection of CSS and JS assets with a name, so that you can use add assets to Asset Manager by using the registered name. This can be accomplished in Grav by using a feature called named assets. These custom collections are defined in system.yaml, so that it can be used by any theme or plugin.

30.

Mention The Options To Pass Array Of Assets For Css?

Answer»

There are few options to pass array of ASSETS for CSS:

  • priority: It takes an integer VALUE and DEFAULT value will be 100.
  • pipeline: When an asset is not INCLUDED in pipeline, it sets to false value. And the default value is set to true.

There are few options to pass array of assets for CSS:

31.

Mention The Three Types Of Tags Used By Twig?

Answer»

Twig USES THREE TYPES of TAGS i.e.

  1. Output tags
  2. Action Tags
  3. Comment tags

Twig uses three types of tags i.e.

32.

What Is Grav Twig Filters & Functions?

Answer»

Filters are used to FORMAT the DATA the way you want and output. Functions are used to generate contents. Twig TEMPLATES are TEXT files that contain EXPRESSIONS and variables replaced by values.

Filters are used to format the data the way you want and output. Functions are used to generate contents. Twig templates are text files that contain expressions and variables replaced by values.

33.

What Is Grav Modular Pages?

Answer»

MODULAR Pages enables to create a single page from its CHILD pages. It is used to set as non-routable because they cannot be reached DIRECTLY through an URL. They are identified by _ (underscore) before the FOLDER name. It is a collection of pages that are displayed one above each to GET a single page.

Modular Pages enables to create a single page from its child pages. It is used to set as non-routable because they cannot be reached directly through an URL. They are identified by _ (underscore) before the folder name. It is a collection of pages that are displayed one above each to get a single page.

34.

What Is The Use Of Sepia Action On Images?

Answer»

Sepia FILTER is ADDED to give a vintage LOOK on IMAGES.

Sepia filter is added to give a vintage look on images.

35.

Mention The Media File Types That Are Supported By Grav?

Answer»

Following are the MEDIA FILE TYPES that are supported by Grav:

  • Image: jpg,jpeg,png.
  • Animated Image: gif.
  • VECTORIZED Image: svg.
  • Video: mp4,mov,m4v,swf.
  • Data/information: TXT,doc,pdf,html,zip,gz.

Following are the media file types that are supported by Grav:

36.

What Is Remote Link?

Answer»

REMOTE links allows you to link directly to any FILE or document through its URL. There is no need to include your own site's CONTENT.

Remote links allows you to link directly to any file or document through its URL. There is no need to include your own site's content.

37.

Mention The 4 Types Of Page Linking Used In The Content?

Answer»

There are 4 types of LINKS used in the content are:

  1. Slug RELATIVE
  2. DIRECTORY Relative
  3. Absolute
  4. Remote

There are 4 types of links used in the content are:

38.

What Is Emphasis In Grav?

Answer»

EMPHASIS is the writing formats in markdown SYNTAX that are used to BOLD, italicize or strikethrough.

  • Bold: TEXT can be made bold using two (**) signs at either SIDE of the texts.
  • Italics:Use underscores( _ ) sign at either sides of the word to italicize the text.
  • Strikethrough: Use two tildes(~~) on either side of the word to strikethrough the word.

Emphasis is the writing formats in markdown syntax that are used to bold, italicize or strikethrough.

39.

Mention The Benefits Of Using Markdown Syntax?

Answer»

The BENEFITS of using MARKDOWN syntax are:

  • It is easy to learn and has minimum characters.
  • When you USE markdown there are very few chances of having errors.
  • Valid XHTML output.
  • Your content and visual DISPLAY is kept separate so that it does not affect your website look.
  • You can use any text editor or markdown application.

The benefits of using Markdown syntax are:

40.

What Is Grav Markdown Syntax?

Answer»

Markdown syntax is DEFINED as writing plain text in an easy to read and easy to write format, which is later converted into HTML CODE. Symbols LIKE (*) or (') are used in markdown syntax. These symbols are used to bold, creating HEADERS and organize your CONTENT.

Markdown syntax is defined as writing plain text in an easy to read and easy to write format, which is later converted into HTML code. Symbols like (*) or (') are used in markdown syntax. These symbols are used to bold, creating headers and organize your content.

41.

Mention The Types Of Pages?

Answer»

Grav Pages SUPPORTS 3 types of pages:

Grav Pages supports 3 types of pages:

42.

What Does **(asterisks) Indicates In Grav?

Answer»

** MARKERS indicates BOLD text or <b> in HTML.

** markers indicates bold text or <b> in HTML.

43.

What Does Hash(#) Syntax Indicates In Grav?

Answer»

# or hashes syntax in Markdown INDICATES a title which will be CONVERTED to &LT;h1> HEADER in HTML.

# or hashes syntax in Markdown indicates a title which will be converted to <h1> header in HTML.

44.

What Are Grav Pages?

Answer»

Pages can be defined as building blocks of the SITE. Pages combine CONTENTS and NAVIGATIONS which MAKES easy even for inexperienced users.

Pages can be defined as building blocks of the site. Pages combine contents and navigations which makes easy even for inexperienced users.

45.

Which Php Version Is Compatible For Grav?

Answer»

PHP 5.4 or HIGHER

PHP 5.4 or higher

46.

What Are Disadvantages Of Grav?

Answer»

The DISADVANTAGES of Grav are:

The disadvantages of Grav are:

47.

What Are Advantages Of Grav?

Answer»

The advantages of Grav are:

  • It is not BASED on database CMS, so it's very easy to install and will be ready to use when you upload the files to the server.
  • It uses Markdown text files to make things easy. USING this, the content will be dynamically converted to HTML and displayed in the browser.
  • In case of security, Grav doesn't have admin area and database. So there is no chance of hacking into account or in the database to access the important DATA.
  • You can EASILY BACKUP all the files to keep backup copy of your website, since there is no database to backup.
  • It is a piece of software which doesn't require more time to learn.

The advantages of Grav are:

48.

List Out Some Features Of Grav?

Answer»

The FEATURES of Grav are:

  • It is fast, easy and powerful flat-file web PLATFORM.
  • It is used to BUILD website with no extra tools or html knowledge.
  • It uses text file or markdown file to store the content.
  • It doesn't USE database, so it eliminates the cause of bottlenecking.
  • It uses PHP based template provided by Twig which is parsed directly into PHP that makes it fast.

The Features of Grav are:

49.

Why To Use Grav?

Answer»

Grav is a new type of FASTEST flat-file content management system which is easier to publish and manage content. It allows developer to handle content very easily by storing content in FILES (such as text or markdown files) rather than in database. If you WANT to build simple, MANAGEABLE and quick site, it's better to select the Grav flat-file CMS. It costs less than the database driven CMS and is useful with I/O for file handling, when you don't have enough resources to handle database.

Grav is a new type of fastest flat-file content management system which is easier to publish and manage content. It allows developer to handle content very easily by storing content in files (such as text or markdown files) rather than in database. If you want to build simple, manageable and quick site, it's better to select the Grav flat-file CMS. It costs less than the database driven CMS and is useful with I/O for file handling, when you don't have enough resources to handle database.

50.

What Is Grav?

Answer»

Grav is a flat-FILE based content management SYSTEM which doesn't use database to STORE the content instead it uses text file (.txt) or markdown (.md) file to store the content.

Grav is a flat-file based content management system which doesn't use database to store the content instead it uses text file (.txt) or markdown (.md) file to store the content.

Previous Next